summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-05-08 12:12:19 +0100
committerSam James <sam@gentoo.org>2025-05-08 12:12:50 +0100
commitb5629b3aefd8633d378beea7e955d66ce709bebe (patch)
tree8aa167ea826db72237ab38e2bf5c2d4ba83898eb
parentfa81d04521b661486ba7357d100be3a2be66d84d (diff)
downloadgentoo-b5629b3aefd8633d378beea7e955d66ce709bebe.tar.gz
gentoo-b5629b3aefd8633d378beea7e955d66ce709bebe.tar.bz2
gentoo-b5629b3aefd8633d378beea7e955d66ce709bebe.zip
dev-db/unixODBC: build w/ -std=gnu17
The custom bool in something pg is a bit suspicious as pg upstream fixed a similar problem but I haven't looked into it. Closes: https://bugs.gentoo.org/947922 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-db/unixODBC/unixODBC-2.3.12-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-db/unixODBC/unixODBC-2.3.12-r1.ebuild b/dev-db/unixODBC/unixODBC-2.3.12-r1.ebuild
index 5d818e0989d6..03e81f0cfeae 100644
--- a/dev-db/unixODBC/unixODBC-2.3.12-r1.ebuild
+++ b/dev-db/unixODBC/unixODBC-2.3.12-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools multilib-minimal
+inherit autotools flag-o-matic multilib-minimal
DESCRIPTION="Complete ODBC driver manager"
HOMEPAGE="https://www.unixodbc.org/"
@@ -45,6 +45,9 @@ multilib_src_configure() {
export LEX=flex
unset YACC
+ # bug #947922
+ append-cflags -std=gnu17
+
# --enable-driver-conf is --enable-driverc as per configure.in
local myeconfargs=(
--cache-file="${BUILD_DIR}"/config.cache