summaryrefslogtreecommitdiff
blob: df9d456c97720673a3563ead2a0944cafa9e80ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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