diff options
author | Eray Aslan <eras@gentoo.org> | 2019-02-21 18:40:29 +0300 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2019-02-21 18:40:29 +0300 |
commit | abed133a13fa91bf5faf992458c4a23dc1d11d61 (patch) | |
tree | 50082174b444a82c6af2aa2af9e572b36b67e876 | |
parent | mail-mta/postfix: bump to 3.4.0-RC2 (diff) | |
download | gentoo-abed133a13fa91bf5faf992458c4a23dc1d11d61.tar.gz gentoo-abed133a13fa91bf5faf992458c4a23dc1d11d61.tar.bz2 gentoo-abed133a13fa91bf5faf992458c4a23dc1d11d61.zip |
mail-mta/postfix: clean up and fix patch
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Eray Aslan <eras@gentoo.org>
-rw-r--r-- | mail-mta/postfix/files/postfix-linux-5.patch | 52 |
1 files changed, 23 insertions, 29 deletions
diff --git a/mail-mta/postfix/files/postfix-linux-5.patch b/mail-mta/postfix/files/postfix-linux-5.patch index df9d456c9772..a806ab0dbb9c 100644 --- a/mail-mta/postfix/files/postfix-linux-5.patch +++ b/mail-mta/postfix/files/postfix-linux-5.patch @@ -1,29 +1,23 @@ -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 +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 |