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.diff -r1.20.8.1 -r1.20.8.2 src/external/bsd/bind/include/config.h
(martin)
--- src/external/bsd/bind/include/Attic/config.h 2017/06/21 18:03:51 1.20.8.1
+++ src/external/bsd/bind/include/Attic/config.h 2020/04/23 14:10:50 1.20.8.2
@@ -594,6 +594,11 @@
/* # 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. */