slackware-current/source/n/postfix/postfix.res-macros-fix.patch
Patrick J Volkerding 5ff08990e9 Tue Sep 10 21:28:36 UTC 2019
a/glibc-solibs-2.30-x86_64-1.txz:  Upgraded.
a/kernel-firmware-20190909_6c6918a-noarch-1.txz:  Upgraded.
a/kernel-generic-4.19.72-x86_64-1.txz:  Upgraded.
a/kernel-huge-4.19.72-x86_64-1.txz:  Upgraded.
a/kernel-modules-4.19.72-x86_64-1.txz:  Upgraded.
d/kernel-headers-4.19.72-x86-1.txz:  Upgraded.
k/kernel-source-4.19.72-noarch-1.txz:  Upgraded.
l/gdk-pixbuf2-2.38.2-x86_64-1.txz:  Upgraded.
l/glibc-2.30-x86_64-1.txz:  Upgraded.
l/glibc-i18n-2.30-x86_64-1.txz:  Upgraded.
l/glibc-profile-2.30-x86_64-1.txz:  Upgraded.
n/libmilter-8.15.2-x86_64-3.txz:  Rebuilt.
  Use gethostbyname2() since RES_USE_INET6 is removed in glibc-2.30.
n/libqmi-1.22.6-x86_64-1.txz:  Upgraded.
n/postfix-3.4.6-x86_64-2.txz:  Rebuilt.
  Patched to fix removed macros in glibc-2.30.
n/yptools-2.14-x86_64-12.txz:  Rebuilt.
  Patched ypbind-mt for gettid() included in glibc-2.30.
xap/blackbox-0.75-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2019-09-11 08:59:49 +02:00

21 lines
630 B
Diff

diff --git a/src/dns/dns_str_resflags.c b/src/dns/dns_str_resflags.c
index 5f2cce5..df32345 100644
--- a/src/dns/dns_str_resflags.c
+++ b/src/dns/dns_str_resflags.c
@@ -60,10 +60,16 @@ static const LONG_NAME_MASK resflag_table[] = {
"RES_DEFNAMES", RES_DEFNAMES,
"RES_STAYOPEN", RES_STAYOPEN,
"RES_DNSRCH", RES_DNSRCH,
+#ifdef RES_INSECURE1
"RES_INSECURE1", RES_INSECURE1,
+#endif
+#ifdef RES_INSECURE2
"RES_INSECURE2", RES_INSECURE2,
+#endif
"RES_NOALIASES", RES_NOALIASES,
+#ifdef RES_USE_INET6
"RES_USE_INET6", RES_USE_INET6,
+#endif
#ifdef RES_ROTATE
"RES_ROTATE", RES_ROTATE,
#endif