summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/n/postfix/linux-6.patch24
-rwxr-xr-xsource/n/postfix/postfix.SlackBuild5
2 files changed, 1 insertions, 28 deletions
diff --git a/source/n/postfix/linux-6.patch b/source/n/postfix/linux-6.patch
deleted file mode 100644
index 19e73dc34..000000000
--- a/source/n/postfix/linux-6.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- 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
diff --git a/source/n/postfix/postfix.SlackBuild b/source/n/postfix/postfix.SlackBuild
index f6627393e..d01891e6b 100755
--- a/source/n/postfix/postfix.SlackBuild
+++ b/source/n/postfix/postfix.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=postfix
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -102,9 +102,6 @@ zcat $CWD/postfix.only.warn.regular.files.diff.gz | patch -p1 --verbose || exit
# Make the postfix startup message look more like the other boot notices:
zcat $CWD/postfix.script.starting.message.diff.gz | patch -p1 --verbose || exit 1
-# Support the Linux 6.x kernel:
-zcat $CWD/linux-6.patch.gz | patch -p1 --verbose || exit 1
-
# Postfix does not use a ./configure script (no GNU autoconf)
#
# The AUXLIBS variable is for dynamic library linking, which as of this