Module Name:    src
Committed By:   martin
Date:           Thu Apr 23 14:10:50 UTC 2020

Modified Files:
        src/external/bsd/bind/include [netbsd-8]: config.h

Log Message:
Apply patch, requested by he in ticket #1539:

        external/bsd/bind/include/config.h (apply patch)

Fix BIND configuration for big-endian hosts.
This should make DNSSEC work on such hosts as well.


To generate a diff of this commit:
cvs rdiff -u -r1.20.8.1 -r1.20.8.2 src/external/bsd/bind/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/bind/include/config.h
diff -u src/external/bsd/bind/include/config.h:1.20.8.1 src/external/bsd/bind/include/config.h:1.20.8.2
--- src/external/bsd/bind/include/config.h:1.20.8.1	Wed Jun 21 18:03:51 2017
+++ src/external/bsd/bind/include/config.h	Thu Apr 23 14:10:50 2020
@@ -594,6 +594,11 @@ int sigwait(const unsigned int *set, int
 /* #  undef WORDS_BIGENDIAN */
 # endif
 #endif
+#else /* __NetBSD__ */
+# include <endian.h>
+# if _BYTE_ORDER == _BIG_ENDIAN
+#  define WORDS_BIGENDIAN 1
+# endif
 #endif
 
 /* Define to empty if `const' does not conform to ANSI C. */

Reply via email to