Accepting request 914039 from home:varkoly:branches:server:mail
- postfix fails with glibc 2.34 Define HAS_CLOSEFROM (bsc#1189101) add patch - postfix-3.6.2-glibc-234-build-fix.patch - postfix fails with glibc 2.34 Define HAS_CLOSEFROM (bsc#1189101) add patch - postfix-3.6.2-glibc-234-build-fix.patch OBS-URL: https://build.opensuse.org/request/show/914039 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=423
This commit is contained in:
parent
fb5f24453a
commit
bd56ad4b92
14
postfix-3.6.2-glibc-234-build-fix.patch
Normal file
14
postfix-3.6.2-glibc-234-build-fix.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
|
||||
index 99bec9b..95c78ec 100644
|
||||
--- a/src/util/sys_defs.h
|
||||
+++ b/src/util/sys_defs.h
|
||||
@@ -802,6 +803,9 @@ extern int initgroups(const char *, int);
|
||||
#define _PATH_PROCNET_IFINET6 "/proc/net/if_inet6"
|
||||
#endif
|
||||
#endif
|
||||
+#if HAVE_GLIBC_API_VERSION_SUPPORT(2, 34)
|
||||
+#define HAS_CLOSEFROM
|
||||
+#endif
|
||||
#include <linux/version.h>
|
||||
#if !defined(KERNEL_VERSION)
|
||||
#define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1)
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 24 09:55:02 UTC 2021 - Peter Varkoly <varkoly@suse.com>
|
||||
|
||||
- postfix fails with glibc 2.34
|
||||
Define HAS_CLOSEFROM
|
||||
(bsc#1189101)
|
||||
add patch
|
||||
- postfix-3.6.2-glibc-234-build-fix.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 5 19:09:36 UTC 2021 - chris@computersalat.de
|
||||
|
||||
|
@ -82,6 +82,7 @@ Patch7: postfix-ssl-release-buffers.patch
|
||||
Patch8: postfix-vda-v14-3.0.3.patch
|
||||
Patch9: fix-postfix-script.patch
|
||||
Patch10: postfix-avoid-infinit-loop-if-no-permission.patch
|
||||
Patch11: postfix-3.6.2-glibc-234-build-fix.patch
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
BuildRequires: db-devel
|
||||
@ -155,6 +156,7 @@ lmdb.
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%patch11
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 24 09:55:42 UTC 2021 - Peter Varkoly <varkoly@suse.com>
|
||||
|
||||
- postfix fails with glibc 2.34
|
||||
Define HAS_CLOSEFROM
|
||||
(bsc#1189101)
|
||||
add patch
|
||||
- postfix-3.6.2-glibc-234-build-fix.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 5 19:09:36 UTC 2021 - chris@computersalat.de
|
||||
|
||||
|
@ -69,6 +69,7 @@ Patch8: %{name}-vda-v14-3.0.3.patch
|
||||
Patch9: fix-postfix-script.patch
|
||||
Patch10: %{name}-avoid-infinit-loop-if-no-permission.patch
|
||||
Patch11: set-default-db-type.patch
|
||||
Patch12: postfix-3.6.2-glibc-234-build-fix.patch
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
#BuildRequires: db-devel
|
||||
@ -175,6 +176,7 @@ maps with Postfix, you need this.
|
||||
%patch9
|
||||
%patch10
|
||||
%patch11
|
||||
%patch12 -p1
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user