1 |
commit: 3cc464a39d524238117c76c99c9803b973c201df |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 1 06:18:50 2017 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 1 07:00:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc464a3 |
7 |
|
8 |
gnome-base/libgtop: fix build with gcc-4, bug ##628256 |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
|
12 |
gnome-base/libgtop/libgtop-2.36.0.ebuild | 5 ++++- |
13 |
1 file changed, 4 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/gnome-base/libgtop/libgtop-2.36.0.ebuild b/gnome-base/libgtop/libgtop-2.36.0.ebuild |
16 |
index 3bc7dfcd3b5..e2c0e948532 100644 |
17 |
--- a/gnome-base/libgtop/libgtop-2.36.0.ebuild |
18 |
+++ b/gnome-base/libgtop/libgtop-2.36.0.ebuild |
19 |
@@ -2,7 +2,7 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=6 |
23 |
-inherit gnome2 |
24 |
+inherit flag-o-matic gnome2 |
25 |
|
26 |
DESCRIPTION="A library that provides top functionality to applications" |
27 |
HOMEPAGE="https://git.gnome.org/browse/libgtop" |
28 |
@@ -23,6 +23,9 @@ DEPEND="${RDEPEND} |
29 |
" |
30 |
|
31 |
src_configure() { |
32 |
+ # Add explicit stdc, bug #628256 |
33 |
+ append-cflags "-std=c99" |
34 |
+ |
35 |
gnome2_src_configure \ |
36 |
--disable-static \ |
37 |
$(use_enable introspection) |