summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2017-09-01 08:18:50 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2017-09-01 09:00:35 +0200
commit3cc464a39d524238117c76c99c9803b973c201df (patch)
treeb890a6128360a8bc57ec51ebb14e1c6f70c71c3e /gnome-base
parentapp-misc/evemu: remove old (diff)
downloadgentoo-3cc464a39d524238117c76c99c9803b973c201df.tar.gz
gentoo-3cc464a39d524238117c76c99c9803b973c201df.tar.bz2
gentoo-3cc464a39d524238117c76c99c9803b973c201df.zip
gnome-base/libgtop: fix build with gcc-4, bug ##628256
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/libgtop/libgtop-2.36.0.ebuild5
1 files changed, 4 insertions, 1 deletions
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)