summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/postfix/files/postfix-linux-5.patch')
-rw-r--r--mail-mta/postfix/files/postfix-linux-5.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail-mta/postfix/files/postfix-linux-5.patch b/mail-mta/postfix/files/postfix-linux-5.patch
new file mode 100644
index 00000000000..df9d456c977
--- /dev/null
+++ b/mail-mta/postfix/files/postfix-linux-5.patch
@@ -0,0 +1,29 @@
+diff --git a/mail-mta/postfix/files/postfix-linux-5.patch b/mail-mta/postfix/files/postfix-linux-5.patch
+new file mode 100644
+index 000000000000..a806ab0dbb9c
+--- /dev/null
++++ b/mail-mta/postfix/files/postfix-linux-5.patch
+@@ -0,0 +1,23 @@
++See http://postfix.1071664.n5.nabble.com/Support-for-quot-Linux-5-quot-td99786.html
++--- a/makedefs 2018-02-03 12:20:46.000000000 -0500
+++++ b/makedefs 2019-02-18 15:39:17.711376206 -0500
++@@ -546,7 +546,7 @@
++ : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
++ : ${PLUGIN_LD="${CC-gcc} -shared"}
++ ;;
++- Linux.[34].*) SYSTYPE=LINUX$RELEASE_MAJOR
+++ Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR
++ case "$CCARGS" in
++ *-DNO_DB*) ;;
++ *-DHAS_DB*) ;;
++--- a/src/util/sys_defs.h 2019-02-18 15:40:19.008167828 -0500
+++++ b/src/util/sys_defs.h 2019-02-18 15:42:17.241742169 -0500
++@@ -748,7 +748,7 @@
++ /*
++ * LINUX.
++ */
++-#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4)
+++#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5)
++ #define SUPPORTED
++ #define UINT32_TYPE unsigned int
++ #define UINT16_TYPE unsigned short