summaryrefslogtreecommitdiff
diff options
authorNicolas PARLANT <nicolas.parlant@parhuet.fr>2025-10-02 08:56:34 +0200
committerSam James <sam@gentoo.org>2025-10-03 00:55:38 +0100
commit3daf48fee4735bd02c3c00c972b258a9ed8c2457 (patch)
treeb9700722fe7c47128c4675c7ccb50829e28bc7e8 /app-office/dia
parentmedia-gfx/krita: Stabilize 5.2.13 amd64, #963680 (diff)
downloadgentoo-3daf48fee4735bd02c3c00c972b258a9ed8c2457.tar.gz
gentoo-3daf48fee4735bd02c3c00c972b258a9ed8c2457.tar.bz2
gentoo-3daf48fee4735bd02c3c00c972b258a9ed8c2457.zip
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@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@gentoo.org>
Diffstat (limited to 'app-office/dia')
-rw-r--r--app-office/dia/dia-0.97.3-r4.ebuild6
1 files 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