Thu Apr 23 14:10:50 2020 UTC ()
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.


(martin)
diff -r1.20.8.1 -r1.20.8.2 src/external/bsd/bind/include/config.h

cvs diff -r1.20.8.1 -r1.20.8.2 src/external/bsd/bind/include/Attic/config.h (expand / switch to unified diff)

--- 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
@@ -584,26 +584,31 @@ int sigwait(const unsigned int *set, int @@ -584,26 +584,31 @@ int sigwait(const unsigned int *set, int
584/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 584/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
585 significant byte first (like Motorola and SPARC, unlike Intel). */ 585 significant byte first (like Motorola and SPARC, unlike Intel). */
586#ifndef __NetBSD__ 586#ifndef __NetBSD__
587/* Defined by the build process */ 587/* Defined by the build process */
588#if defined AC_APPLE_UNIVERSAL_BUILD 588#if defined AC_APPLE_UNIVERSAL_BUILD
589# if defined __BIG_ENDIAN__ 589# if defined __BIG_ENDIAN__
590# define WORDS_BIGENDIAN 1 590# define WORDS_BIGENDIAN 1
591# endif 591# endif
592#else 592#else
593# ifndef WORDS_BIGENDIAN 593# ifndef WORDS_BIGENDIAN
594/* # undef WORDS_BIGENDIAN */ 594/* # undef WORDS_BIGENDIAN */
595# endif 595# endif
596#endif 596#endif
 597#else /* __NetBSD__ */
 598# include <endian.h>
 599# if _BYTE_ORDER == _BIG_ENDIAN
 600# define WORDS_BIGENDIAN 1
 601# endif
597#endif 602#endif
598 603
599/* Define to empty if `const' does not conform to ANSI C. */ 604/* Define to empty if `const' does not conform to ANSI C. */
600/* #undef const */ 605/* #undef const */
601 606
602/* Define to empty if your compiler does not support "static inline". */ 607/* Define to empty if your compiler does not support "static inline". */
603/* #undef inline */ 608/* #undef inline */
604 609
605/* Define to `unsigned int' if <sys/types.h> does not define. */ 610/* Define to `unsigned int' if <sys/types.h> does not define. */
606/* #undef size_t */ 611/* #undef size_t */
607 612
608/* Define to `int' if <sys/types.h> does not define. */ 613/* Define to `int' if <sys/types.h> does not define. */
609/* #undef ssize_t */ 614/* #undef ssize_t */