summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/postfix/files
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-17 20:10:02 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2017-09-08 16:38:19 -0400
commitf7ce2ae063e63f0063430cf27ea3820df4c0f42e (patch)
tree11c91a6e00dd5d8a526fcd236b8fca94719f2904 /meta-networking/recipes-daemons/postfix/files
parent431120f77cc6fe4b092f8a750363acbf8cf58396 (diff)
downloadmeta-openembedded-f7ce2ae063e63f0063430cf27ea3820df4c0f42e.tar.gz
postfix: Disable nis support on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/postfix/files')
-rw-r--r--meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch b/meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch
new file mode 100644
index 000000000..6b86e3925
--- /dev/null
+++ b/meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch
@@ -0,0 +1,26 @@
1From 63619acf25151d4dade6d65732722ec4a710a5ac Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 15 Jul 2017 09:54:25 -0700
4Subject: [PATCH] Check for glibc before setting CANT_USE_SEND_RECV_MSG
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 src/util/sys_defs.h | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
12index f720e2a..7314c63 100644
13--- a/src/util/sys_defs.h
14+++ b/src/util/sys_defs.h
15@@ -813,7 +813,7 @@ extern int initgroups(const char *, int);
16 #define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1)
17 #endif
18 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0)) \
19- || (__GLIBC__ < 2)
20+ || (defined(__GLIBC__) && (__GLIBC__ < 2))
21 #define CANT_USE_SEND_RECV_MSG
22 #define DEF_SMTP_CACHE_DEMAND 0
23 #else
24--
252.13.3
26