commit:     3daf48fee4735bd02c3c00c972b258a9ed8c2457
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Thu Oct  2 06:56:34 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  2 23:55:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3daf48fe

app-office/dia: use std=gnu17, while waiting for gtk-3 release

QA, line w/ too much characters
export PKG_CONFIG

Closes: https://bugs.gentoo.org/943791
Closes: https://bugs.gentoo.org/948501
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44003
Closes: https://github.com/gentoo/gentoo/pull/44003
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-office/dia/dia-0.97.3-r4.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-office/dia/dia-0.97.3-r4.ebuild 
b/app-office/dia/dia-0.97.3-r4.ebuild
index e6b3aac662cf..ee9684e2442c 100644
--- a/app-office/dia/dia-0.97.3-r4.ebuild
+++ b/app-office/dia/dia-0.97.3-r4.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 GNOME2_EAUTORECONF="yes"
-inherit gnome2
+inherit flag-o-matic gnome2 toolchain-funcs
 
 DESCRIPTION="Diagram/flowchart creation program"
 HOMEPAGE="https://wiki.gnome.org/Apps/Dia";
@@ -42,7 +42,7 @@ BDEPEND="
 PATCHES=(
        "${FILESDIR}"/${PN}-0.97.0-gnome-doc.patch #159381 , upstream #470812 
#558690
        "${FILESDIR}"/${PN}-0.97.2-underlinking.patch #420685, upstream #678761
-       "${FILESDIR}"/${PN}-0.97.3-freetype_pkgconfig.patch #654814, upstream 
https://gitlab.gnome.org/GNOME/dia/merge_requests/1
+       "${FILESDIR}"/${PN}-0.97.3-freetype_pkgconfig.patch #654814, upstream 
PR 1
        "${FILESDIR}"/${PN}-0.97.3-slibtool.patch
        "${FILESDIR}"/${PN}-0.97.3-configure-clang16.patch
        "${FILESDIR}"/${PN}-0.97.3-c99.patch
@@ -67,6 +67,8 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cflags -std=gnu17 # bugs 943791 948501
+       tc-export PKG_CONFIG
        # --exec-prefix makes Python look for modules in the Prefix
        # --enable-gnome only adds support for deprecated stuff, bug #442294
        # https://bugzilla.redhat.com/show_bug.cgi?id=996759

Reply via email to