commit: 7dbd2d6d38f40a5c7fe844b6e539feb693e2195b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Dec 28 22:38:54 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Dec 28 22:39:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dbd2d6d
mail-mta/postfix: build w/ -std=gnu17 Reported upstream but they recommend using gnu17 for now. Closes: https://bugs.gentoo.org/945733 Signed-off-by: Sam James <sam <AT> gentoo.org> mail-mta/postfix/postfix-3.10_pre20241202.ebuild | 5 ++++- mail-mta/postfix/postfix-3.9.0-r2.ebuild | 5 ++++- mail-mta/postfix/postfix-3.9.1.ebuild | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/mail-mta/postfix/postfix-3.10_pre20241202.ebuild b/mail-mta/postfix/postfix-3.10_pre20241202.ebuild index f9aa172eb2af..dd2d17dc5128 100644 --- a/mail-mta/postfix/postfix-3.10_pre20241202.ebuild +++ b/mail-mta/postfix/postfix-3.10_pre20241202.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit pam systemd toolchain-funcs +inherit flag-o-matic pam systemd toolchain-funcs MY_PV="${PV/_pre/-}" MY_SRC="${PN}-${MY_PV}" @@ -75,6 +75,9 @@ src_configure() { # bug #915670 unset LD_LIBRARY_PATH + # https://marc.info/?l=postfix-users&m=173542420611213&w=2 (bug #945733) + append-cflags -std=gnu17 + for name in CDB LDAP LMDB MONGODB MYSQL PCRE PGSQL SDBM SQLITE do local AUXLIBS_${name}="" diff --git a/mail-mta/postfix/postfix-3.9.0-r2.ebuild b/mail-mta/postfix/postfix-3.9.0-r2.ebuild index 3ce5bf31471f..99ca912a4e9b 100644 --- a/mail-mta/postfix/postfix-3.9.0-r2.ebuild +++ b/mail-mta/postfix/postfix-3.9.0-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit pam systemd toolchain-funcs +inherit flag-o-matic pam systemd toolchain-funcs MY_PV="${PV/_pre/-}" MY_SRC="${PN}-${MY_PV}" @@ -79,6 +79,9 @@ src_configure() { # bug #915670 unset LD_LIBRARY_PATH + # https://marc.info/?l=postfix-users&m=173542420611213&w=2 (bug #945733) + append-cflags -std=gnu17 + for name in CDB LDAP LMDB MONGODB MYSQL PCRE PGSQL SDBM SQLITE do local AUXLIBS_${name}="" diff --git a/mail-mta/postfix/postfix-3.9.1.ebuild b/mail-mta/postfix/postfix-3.9.1.ebuild index 316613eea2d2..fe5e4330750f 100644 --- a/mail-mta/postfix/postfix-3.9.1.ebuild +++ b/mail-mta/postfix/postfix-3.9.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit pam systemd toolchain-funcs +inherit flag-o-matic pam systemd toolchain-funcs MY_PV="${PV/_pre/-}" MY_SRC="${PN}-${MY_PV}" @@ -79,6 +79,9 @@ src_configure() { # bug #915670 unset LD_LIBRARY_PATH + # https://marc.info/?l=postfix-users&m=173542420611213&w=2 (bug #945733) + append-cflags -std=gnu17 + for name in CDB LDAP LMDB MONGODB MYSQL PCRE PGSQL SDBM SQLITE do local AUXLIBS_${name}=""
