summaryrefslogtreecommitdiffstats
path: root/debian/patches/0021-Support-kernel-backport.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 05:42:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 05:44:58 +0000
commit91ca5e856ca2bb560251d14ba5ab1fa8f40020d7 (patch)
tree740871517073c72a8c5fea35604eb1f5cc6f311a /debian/patches/0021-Support-kernel-backport.patch
parentReleasing progress-linux version 3.4.23-0+deb10u1progress5u1. (diff)
downloadpostfix-91ca5e856ca2bb560251d14ba5ab1fa8f40020d7.tar.xz
postfix-91ca5e856ca2bb560251d14ba5ab1fa8f40020d7.zip
Merging debian version 3.4.23-0+deb10u2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0021-Support-kernel-backport.patch')
-rw-r--r--debian/patches/0021-Support-kernel-backport.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/0021-Support-kernel-backport.patch b/debian/patches/0021-Support-kernel-backport.patch
new file mode 100644
index 0000000..9d781d8
--- /dev/null
+++ b/debian/patches/0021-Support-kernel-backport.patch
@@ -0,0 +1,38 @@
+From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca@debian.org>
+Date: Sun, 28 Jan 2024 09:53:08 +0000
+Subject: Support kernel backport
+
+Postfix fail on chroot pbuilder due to backported kernel
+
+forwarded: not-needed
+---
+ makedefs | 2 +-
+ src/util/sys_defs.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/makedefs b/makedefs
+index ffb21ad..3aa5df4 100644
+--- a/makedefs
++++ b/makedefs
+@@ -564,7 +564,7 @@ EOF
+ : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
+ : ${PLUGIN_LD="${CC-gcc} -shared"}
+ ;;
+- Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR
++ Linux.[34567].*) SYSTYPE=LINUX$RELEASE_MAJOR
+ case "$CCARGS" in
+ *-DNO_DB*) ;;
+ *-DHAS_DB*) ;;
+diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
+index 39daa16..8159a83 100644
+--- 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) || defined(LINUX5)
++#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) || defined(LINUX6) || defined(LINUX7)
+ #define SUPPORTED
+ #define UINT32_TYPE unsigned int
+ #define UINT16_TYPE unsigned short