commit:     a373e452d44f9a993e1ce7d25091cb2b8c44cf51
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 07:35:57 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 07:37:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a373e452

dev-db/pgpool2: build w/ -std=gnu17

Closes: https://bugs.gentoo.org/946410
Closes: https://bugs.gentoo.org/940128
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/pgpool2/pgpool2-4.4.7.ebuild | 5 ++++-
 dev-db/pgpool2/pgpool2-9999.ebuild  | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-4.4.7.ebuild 
b/dev-db/pgpool2/pgpool2-4.4.7.ebuild
index 8170c488c799..ec7696c2f5c3 100644
--- a/dev-db/pgpool2/pgpool2-4.4.7.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.4.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -48,6 +48,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #946410
+       append-cflags -std=gnu17
+
        # -Werror=lto-type-mismatch
        # https://bugs.gentoo.org/855248
        # https://github.com/pgpool/pgpool2/issues/42

diff --git a/dev-db/pgpool2/pgpool2-9999.ebuild 
b/dev-db/pgpool2/pgpool2-9999.ebuild
index aec380cbbd43..100322c855b7 100644
--- a/dev-db/pgpool2/pgpool2-9999.ebuild
+++ b/dev-db/pgpool2/pgpool2-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -53,6 +53,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #946410
+       append-cflags -std=gnu17
+
        # -Werror=lto-type-mismatch
        # https://bugs.gentoo.org/855248
        # https://github.com/pgpool/pgpool2/issues/42

Reply via email to