summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2024-11-22 13:21:19 -0500
committerMichael Orlitzky <mjo@gentoo.org>2024-11-23 09:06:12 -0500
commit6c58eeb2b1e66e76aab81f21765913710e152806 (patch)
treee7a347e84b1529620be5c4aebb6cc3171889c69b /dev-gap
parentdev-gap/utils: add 0.87 (diff)
downloadgentoo-6c58eeb2b1e66e76aab81f21765913710e152806.tar.gz
gentoo-6c58eeb2b1e66e76aab81f21765913710e152806.tar.bz2
gentoo-6c58eeb2b1e66e76aab81f21765913710e152806.zip
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@gentoo.org>
Diffstat (limited to 'dev-gap')
-rw-r--r--dev-gap/guava/guava-3.19-r1.ebuild (renamed from dev-gap/guava/guava-3.19.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-gap/guava/guava-3.19.ebuild b/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