summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/postfix/files/0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-daemons/postfix/files/0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch')
-rw-r--r--meta-networking/recipes-daemons/postfix/files/0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch b/meta-networking/recipes-daemons/postfix/files/0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch
new file mode 100644
index 0000000000..22adaff729
--- /dev/null
+++ b/meta-networking/recipes-daemons/postfix/files/0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch
@@ -0,0 +1,37 @@
1From 8b3792830f4930fee7fbb00c854d9766f2b74dca Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 27 Jul 2019 11:35:38 -0700
4Subject: [PATCH] Fixed build failure with glibc 2.30 due to dropped
5 RES_INSECURE1/2 macros
6
7see [1]
8
9[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=333221862ecbebde60dd16e7ca17d26444e62f50
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 src/dns/dns_str_resflags.c | 6 ++++++
15 1 file changed, 6 insertions(+)
16
17diff --git a/src/dns/dns_str_resflags.c b/src/dns/dns_str_resflags.c
18index 5f2cce5..df32345 100644
19--- a/src/dns/dns_str_resflags.c
20+++ b/src/dns/dns_str_resflags.c
21@@ -60,10 +60,16 @@ static const LONG_NAME_MASK resflag_table[] = {
22 "RES_DEFNAMES", RES_DEFNAMES,
23 "RES_STAYOPEN", RES_STAYOPEN,
24 "RES_DNSRCH", RES_DNSRCH,
25+#ifdef RES_INSECURE1
26 "RES_INSECURE1", RES_INSECURE1,
27+#endif
28+#ifdef RES_INSECURE2
29 "RES_INSECURE2", RES_INSECURE2,
30+#endif
31 "RES_NOALIASES", RES_NOALIASES,
32+#ifdef RES_USE_INET6
33 "RES_USE_INET6", RES_USE_INET6,
34+#endif
35 #ifdef RES_ROTATE
36 "RES_ROTATE", RES_ROTATE,
37 #endif