- added postfix-2.11.5_linux4.patch:
Allow building on kernel 4. Patch taken from: https://groups.google.com/forum/#!topic/mailing.postfix.users/fufS22sMGWY OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=217
This commit is contained in:
parent
a2f989ced8
commit
c4231e06cc
31
postfix-2.11.5_linux4.patch
Normal file
31
postfix-2.11.5_linux4.patch
Normal file
@ -0,0 +1,31 @@
|
||||
Index: postfix-2.11.5/makedefs
|
||||
===================================================================
|
||||
--- postfix-2.11.5.orig/makedefs
|
||||
+++ postfix-2.11.5/makedefs
|
||||
@@ -365,7 +365,12 @@ EOF
|
||||
fi;;
|
||||
esac
|
||||
;;
|
||||
- Linux.3*) SYSTYPE=LINUX3
|
||||
+ Linux.[34]*)
|
||||
+ case "$RELEASE" in
|
||||
+ 3.*) SYSTYPE=LINUX3;;
|
||||
+ 4.*) SYSTYPE=LINUX4;;
|
||||
+ *) error "Unknown Linux version: `uname -r`.";;
|
||||
+ esac
|
||||
case "$CCARGS" in
|
||||
*-DNO_DB*) ;;
|
||||
*-DHAS_DB*) ;;
|
||||
Index: postfix-2.11.5/src/util/sys_defs.h
|
||||
===================================================================
|
||||
--- postfix-2.11.5.orig/src/util/sys_defs.h
|
||||
+++ postfix-2.11.5/src/util/sys_defs.h
|
||||
@@ -755,7 +755,7 @@ extern int initgroups(const char *, int)
|
||||
/*
|
||||
* LINUX.
|
||||
*/
|
||||
-#if defined(LINUX2) || defined(LINUX3)
|
||||
+#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4)
|
||||
#define SUPPORTED
|
||||
#include <sys/types.h>
|
||||
#define UINT32_TYPE unsigned int
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 21 09:55:44 UTC 2015 - mrueckert@suse.de
|
||||
|
||||
- added postfix-2.11.5_linux4.patch:
|
||||
Allow building on kernel 4. Patch taken from:
|
||||
https://groups.google.com/forum/#!topic/mailing.postfix.users/fufS22sMGWY
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 19 23:03:25 UTC 2015 - mrueckert@suse.de
|
||||
|
||||
|
@ -78,6 +78,7 @@ Patch100: %{name}-vda-v13-2.10.0.patch
|
||||
Patch101: postfix-db6.diff
|
||||
#PATCH-FIX-SLE PATCH-FIX-OPENSUSE to be able to build the agent tls_proxy
|
||||
Patch102: add_missed_library.patch
|
||||
Patch103: postfix-2.11.5_linux4.patch
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
@ -171,6 +172,7 @@ PostgreSQL.
|
||||
%patch100 -p1
|
||||
%patch101
|
||||
%patch102
|
||||
%patch103 -p1
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user