commit:     6c58eeb2b1e66e76aab81f21765913710e152806
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 18:21:19 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 14:06:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c58eeb2

dev-gap/guava: build with -std=c17

There's a conflict with "false" and the C23 bool type.

Closes: https://bugs.gentoo.org/944356
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 dev-gap/guava/{guava-3.19.ebuild => guava-3.19-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-gap/guava/guava-3.19.ebuild 
b/dev-gap/guava/guava-3.19-r1.ebuild
similarity index 89%
rename from dev-gap/guava/guava-3.19.ebuild
rename to dev-gap/guava/guava-3.19-r1.ebuild
index b00d33b0c4e0..9084820391cc 100644
--- a/dev-gap/guava/guava-3.19.ebuild
+++ b/dev-gap/guava/guava-3.19-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit gap-pkg toolchain-funcs
+inherit gap-pkg flag-o-matic toolchain-funcs
 
 DESCRIPTION="GAP package for computing with error-correcting codes"
 
SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.gz";
@@ -25,6 +25,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # "false" conflicts with c23 bool type
+       append-cflags -std=c17
+
        # This will run the top-level fake ./configure...
        gap-pkg_src_configure
 

Reply via email to