commit:     84a510e2a4319ea10d1623beacda6e459ee24176
Author:     Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Sat Dec 26 19:37:09 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 26 22:37:20 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84a510e2

x11-libs/gtk+: Add explicit -std=gnu89 to CFLAGS

Package-Manager: portage-2.2.26

 x11-libs/gtk+/gtk+-1.2.10-r13.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-libs/gtk+/gtk+-1.2.10-r13.ebuild 
b/x11-libs/gtk+/gtk+-1.2.10-r13.ebuild
index e4ad4b9..e288100 100644
--- a/x11-libs/gtk+/gtk+-1.2.10-r13.ebuild
+++ b/x11-libs/gtk+/gtk+-1.2.10-r13.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 GNOME_TARBALL_SUFFIX="gz"
 GNOME2_LA_PUNT="yes"
 
-inherit autotools eutils gnome2 toolchain-funcs multilib-minimal
+inherit autotools eutils flag-o-matic gnome2 toolchain-funcs multilib-minimal
 
 DESCRIPTION="The GIMP Toolkit"
 HOMEPAGE="http://www.gtk.org/";
@@ -36,6 +36,7 @@ DEPEND="${RDEPEND}
 MULTILIB_CHOST_TOOLS=(/usr/bin/gtk-config)
 
 src_prepare() {
+       append-cflags -std=gnu89
        epatch "${FILESDIR}"/${P}-m4.patch
        epatch "${FILESDIR}"/${P}-automake.patch
        epatch "${FILESDIR}"/${P}-cleanup.patch

Reply via email to