Module Name:    src
Committed By:   martin
Date:           Thu Apr 23 14:16:01 UTC 2020

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

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

        src/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.14.2.6 -r1.14.2.7 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.14.2.6 src/external/bsd/bind/include/config.h:1.14.2.7
--- src/external/bsd/bind/include/config.h:1.14.2.6	Tue Jun 20 17:09:58 2017
+++ src/external/bsd/bind/include/config.h	Thu Apr 23 14:16:01 2020
@@ -594,6 +594,11 @@ int sigwait(const unsigned int *set, int
 /* #  undef WORDS_BIGENDIAN */
 # endif
 #endif
+#else /* __NetBSD__ */
+# include <sys/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