]> TLD Linux GIT Repositories - packages/postfix.git/blobdiff - glibc-2.30.patch
- fix building with glibc 2.30
[packages/postfix.git] / glibc-2.30.patch
diff --git a/glibc-2.30.patch b/glibc-2.30.patch
new file mode 100644 (file)
index 0000000..8a92780
--- /dev/null
@@ -0,0 +1,20 @@
+diff -ur postfix-3.4.6.orig/src/dns/dns_str_resflags.c postfix-3.4.6/src/dns/dns_str_resflags.c
+--- postfix-3.4.6.orig/src/dns/dns_str_resflags.c      2016-05-15 17:20:14.000000000 +0200
++++ postfix-3.4.6/src/dns/dns_str_resflags.c   2019-09-05 22:01:00.522000000 +0200
+@@ -60,10 +60,16 @@
+     "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