27 lines
888 B
Diff
27 lines
888 B
Diff
https://gitweb.gentoo.org/repo/gentoo.git/plain/mail-mta/postfix/files/linux-6.patch
|
|
|
|
--- 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
|