summaryrefslogtreecommitdiff
path: root/user/postfix/linux-6.patch
diff options
context:
space:
mode:
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