1 |
commit: b701cdfd35cd58ad8ef587727e3f931475a27959 |
2 |
Author: Ted Tanberry <ted.tanberry <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Dec 26 22:20:13 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 26 22:36:57 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b701cdfd |
7 |
|
8 |
net-wireless/spectools: Add explicit -std=gnu89 to CFLAGS |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-wireless/spectools/spectools-2011.08.1_p20140618-r1.ebuild | 7 ++++++- |
13 |
1 file changed, 6 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/net-wireless/spectools/spectools-2011.08.1_p20140618-r1.ebuild b/net-wireless/spectools/spectools-2011.08.1_p20140618-r1.ebuild |
16 |
index 6648268..4f809bf 100644 |
17 |
--- a/net-wireless/spectools/spectools-2011.08.1_p20140618-r1.ebuild |
18 |
+++ b/net-wireless/spectools/spectools-2011.08.1_p20140618-r1.ebuild |
19 |
@@ -4,7 +4,7 @@ |
20 |
|
21 |
EAPI=5 |
22 |
|
23 |
-inherit autotools eutils toolchain-funcs udev |
24 |
+inherit autotools eutils flag-o-matic toolchain-funcs udev |
25 |
|
26 |
MY_PN=${PN} |
27 |
MY_PV=${PV/\./-} |
28 |
@@ -43,6 +43,11 @@ src_prepare() { |
29 |
eautoreconf |
30 |
} |
31 |
|
32 |
+src_configure() { |
33 |
+ append-cflags -std=gnu89 |
34 |
+ default |
35 |
+} |
36 |
+ |
37 |
# Please note that upstream removed the --with-gtk-version option |
38 |
# and GTK is now automagical. GTK1 support was also removed. |
39 |
src_compile() { |