summaryrefslogtreecommitdiff
path: root/user/postfix/linux-6.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-12-13 07:03:40 -0600
committerZach van Rijn <me@zv.io>2022-12-13 07:03:40 -0600
commit84bb21e34771f46fc32e042d53491c286feb2d0d (patch)
treed0c94454b33e917f4a406810eb5039fb83f3552e /user/postfix/linux-6.patch
parent6ff0fab2f2e25e365b67b35b1fc062f94ca845c0 (diff)
downloadpackages-84bb21e34771f46fc32e042d53491c286feb2d0d.tar.gz
packages-84bb21e34771f46fc32e042d53491c286feb2d0d.tar.bz2
packages-84bb21e34771f46fc32e042d53491c286feb2d0d.tar.xz
packages-84bb21e34771f46fc32e042d53491c286feb2d0d.zip
user/postfix: bump { 3.6.2 --> 3.7.3 }. add patch for Linux 6. fixes #920.
Diffstat (limited to 'user/postfix/linux-6.patch')
-rw-r--r--user/postfix/linux-6.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/postfix/linux-6.patch b/user/postfix/linux-6.patch
new file mode 100644
index 000000000..19e73dc34
--- /dev/null
+++ b/user/postfix/linux-6.patch
@@ -0,0 +1,24 @@
+--- a/makedefs 2022-01-23 21:53:41.000000000 +0100
++++ b/makedefs 2022-09-07 19:07:02.000000000 +0200
+@@ -627,7 +627,8 @@
+ : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
+ : ${PLUGIN_LD="${CC-gcc} -shared"}
+ ;;
+- Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR
++ Linux.[3456].*)
++ SYSTYPE=LINUX$RELEASE_MAJOR
+ case "$CCARGS" in
+ *-DNO_DB*) ;;
+ *-DHAS_DB*) ;;
+--- a/src/util/sys_defs.h 2021-12-05 19:59:27.000000000 +0100
++++ b/src/util/sys_defs.h 2022-09-07 19:09:09.000000000 +0200
+@@ -751,7 +751,8 @@
+ /*
+ * LINUX.
+ */
+-#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5)
++#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) \
++ || defined(LINUX6)
+ #define SUPPORTED
+ #define UINT32_TYPE unsigned int
+ #define UINT16_TYPE unsigned short