From 3cc464a39d524238117c76c99c9803b973c201df Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Fri, 1 Sep 2017 08:18:50 +0200 Subject: gnome-base/libgtop: fix build with gcc-4, bug ##628256 Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- gnome-base/libgtop/libgtop-2.36.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnome-base/libgtop/libgtop-2.36.0.ebuild b/gnome-base/libgtop/libgtop-2.36.0.ebuild index 3bc7dfcd3b55..e2c0e9485328 100644 --- a/gnome-base/libgtop/libgtop-2.36.0.ebuild +++ b/gnome-base/libgtop/libgtop-2.36.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit gnome2 +inherit flag-o-matic gnome2 DESCRIPTION="A library that provides top functionality to applications" HOMEPAGE="https://git.gnome.org/browse/libgtop" @@ -23,6 +23,9 @@ DEPEND="${RDEPEND} " src_configure() { + # Add explicit stdc, bug #628256 + append-cflags "-std=c99" + gnome2_src_configure \ --disable-static \ $(use_enable introspection) -- cgit v1.2.3-65-gdbad