commit:     3cc464a39d524238117c76c99c9803b973c201df
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  1 06:18:50 2017 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 07:00:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc464a3

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 3bc7dfcd3b5..e2c0e948532 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)

Reply via email to