summaryrefslogtreecommitdiff
path: root/mail-mta/postfix/files/postfix-glibc-2.34.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/postfix/files/postfix-glibc-2.34.patch')
-rw-r--r--mail-mta/postfix/files/postfix-glibc-2.34.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail-mta/postfix/files/postfix-glibc-2.34.patch b/mail-mta/postfix/files/postfix-glibc-2.34.patch
new file mode 100644
index 000000000000..0da3ddf5ecdb
--- /dev/null
+++ b/mail-mta/postfix/files/postfix-glibc-2.34.patch
@@ -0,0 +1,12 @@
+--- a/src/util/sys_defs.h 2020-05-21 16:34:23.000000000 +0300
++++ b/src/util/sys_defs.h 2021-08-07 19:14:20.000000000 +0300
+@@ -827,6 +827,9 @@
+ #define HAVE_POSIX_GETPW_R
+ #endif
+ #endif
++#if HAVE_GLIBC_API_VERSION_SUPPORT(2, 34)
++#define HAS_CLOSEFROM
++#endif
+
+ #endif
+