commit:     379ca097b966b40890b5a4572502b8f9352a374d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 19 12:05:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 12:05:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=379ca097

media-libs/cogl: build w/ -std=gnu17

Archived upstream.

Closes: https://bugs.gentoo.org/943759
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/cogl/cogl-1.22.8-r3.ebuild | 7 +++++--
 1 file 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

Reply via email to