diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-28 08:49:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-28 08:56:25 +0000 |
commit | 228e06b4e65537325ca35b93d2418dadf1f7db55 (patch) | |
tree | fda1f2581e174b070d42251d461c3f9bdc19d56a /main/postfix/no-glibc.patch | |
parent | 4fa7d32dfcdaf3511c6af4bc1479a2102e14345a (diff) | |
download | aports-228e06b4e65537325ca35b93d2418dadf1f7db55.tar.bz2 aports-228e06b4e65537325ca35b93d2418dadf1f7db55.tar.xz |
main/postfix: upgrade to 3.0.1
Diffstat (limited to 'main/postfix/no-glibc.patch')
-rw-r--r-- | main/postfix/no-glibc.patch | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/main/postfix/no-glibc.patch b/main/postfix/no-glibc.patch index 2e5e833303..59ea01468b 100644 --- a/main/postfix/no-glibc.patch +++ b/main/postfix/no-glibc.patch @@ -1,18 +1,11 @@ -Check if we have __GLIBC__ defined at all before checking version -http://bugs.alpinelinux.org/issues/3423 - -This fixes the following when compiled with musl libc: -warning: unix_send_fd: your system has no support for file descriptor passing - - --- ./src/util/sys_defs.h.orig +++ ./src/util/sys_defs.h -@@ -810,7 +810,7 @@ - # define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1) +@@ -812,7 +812,7 @@ + #define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1) #endif #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0)) \ - || (__GLIBC__ < 2) + || (defined(__GLIBC__) && (__GLIBC__ < 2)) - # define CANT_USE_SEND_RECV_MSG - # define DEF_SMTP_CACHE_DEMAND 0 + #define CANT_USE_SEND_RECV_MSG + #define DEF_SMTP_CACHE_DEMAND 0 #else |