summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-19 12:05:42 +0000
committerSam James <sam@gentoo.org>2024-11-19 12:05:42 +0000
commit379ca097b966b40890b5a4572502b8f9352a374d (patch)
tree68c70595d3e44a813f59195ff8b656c31584b5b1 /media-libs
parentdev-util/perf/files: drop unused patches (diff)
downloadgentoo-379ca097b966b40890b5a4572502b8f9352a374d.tar.gz
gentoo-379ca097b966b40890b5a4572502b8f9352a374d.tar.bz2
gentoo-379ca097b966b40890b5a4572502b8f9352a374d.zip
media-libs/cogl: build w/ -std=gnu17
Archived upstream. Closes: https://bugs.gentoo.org/943759 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/cogl/cogl-1.22.8-r3.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/media-libs/cogl/cogl-1.22.8-r3.ebuild b/media-libs/cogl/cogl-1.22.8-r3.ebuild
index f1f6b3256855..60f9a41c27f7 100644
--- a/media-libs/cogl/cogl-1.22.8-r3.ebuild
+++ b/media-libs/cogl/cogl-1.22.8-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,7 @@ EAPI=8
# It's upstreamed so should be able to drop in future
# bug #778041
GNOME2_EAUTORECONF="yes"
-inherit gnome2
+inherit flag-o-matic gnome2
DESCRIPTION="A library for using 3D graphics hardware to draw pretty pictures"
HOMEPAGE="https://www.cogl3d.org/"
@@ -81,6 +81,9 @@ src_prepare() {
}
src_configure() {
+ # bug #943759
+ append-cflags -std=gnu17
+
# TODO: think about quartz, sdl
# Prefer gl over gles2 if both are selected
# Profiling needs uprof, which is not available in portage yet, bug #484750