From 33c4e075db8a0159756ecebf533bcde46b3328bd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 7 Mar 2019 18:18:41 -0800 Subject: postfix: Upgrade to 3.4.1 release Fix build with kernel >= 5.x Signed-off-by: Khem Raj --- .../recipes-daemons/postfix/files/linux_5.x.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-networking/recipes-daemons/postfix/files/linux_5.x.patch (limited to 'meta-networking/recipes-daemons/postfix/files') diff --git a/meta-networking/recipes-daemons/postfix/files/linux_5.x.patch b/meta-networking/recipes-daemons/postfix/files/linux_5.x.patch new file mode 100644 index 0000000000..fbb811c06b --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/linux_5.x.patch @@ -0,0 +1,27 @@ +Recognise kernel 5.x versioning scheme + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +--- a/makedefs ++++ b/makedefs +@@ -543,7 +543,7 @@ EOF + : ${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 ++++ b/src/util/sys_defs.h +@@ -749,7 +749,7 @@ extern int initgroups(const char *, int) + /* + * 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 -- cgit v1.2.3-54-g00ecf