commit:     b5629b3aefd8633d378beea7e955d66ce709bebe
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May  8 11:12:19 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  8 11:12:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5629b3a

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 <AT> gentoo.org>

 dev-db/unixODBC/unixODBC-2.3.12-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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

Reply via email to