diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:55:06 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:01:22 +0000 |
commit | 3e66ef0d159c3dd4af1cf201b51b92eacb4e617f (patch) | |
tree | ed3f3a1ee4d99df2ebf1dabe63e8fc43be2054f2 /debian/patches/progress-linux | |
parent | Adding default-mta to postfix provides. (diff) | |
download | postfix-3e66ef0d159c3dd4af1cf201b51b92eacb4e617f.tar.xz postfix-3e66ef0d159c3dd4af1cf201b51b92eacb4e617f.zip |
Adding compatibility for current kernel versions to fix FTBFS.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/progress-linux')
-rw-r--r-- | debian/patches/progress-linux/0001-system-type.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-system-type.patch b/debian/patches/progress-linux/0001-system-type.patch new file mode 100644 index 0000000..62c32c7 --- /dev/null +++ b/debian/patches/progress-linux/0001-system-type.patch @@ -0,0 +1,19 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Adding compatibility for current kernel versions to fix FTBFS. + +diff -Naurp postfix.orig/makedefs postfix/makedefs +--- postfix.orig/makedefs ++++ postfix/makedefs +@@ -557,7 +557,11 @@ EOF + : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} + : ${PLUGIN_LD="${CC-gcc} -shared"} + ;; +- Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR ++ Linux.[34567].*) ++ case "$SYSTEM.$RELEASE" in ++ Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR ;; ++ Linux.[67].*) SYSTYPE=LINUX5 ;; ++ esac + case "$CCARGS" in + *-DNO_DB*) ;; + *-DHAS_DB*) ;; |