1 |
commit: d143d34e164882fed1656841e579b7ef948bb5ac |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 1 00:01:56 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 00:02:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d143d34e |
7 |
|
8 |
net-analyzer/nstats: Set CFLAGS=-fcommon |
9 |
|
10 |
Package-Manager: Portage-2.3.86, Repoman-2.3.20 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=707488 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/nstats/nstats-0.4-r3.ebuild | 8 ++++++-- |
15 |
1 file changed, 6 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/nstats/nstats-0.4-r3.ebuild b/net-analyzer/nstats/nstats-0.4-r3.ebuild |
18 |
index 06b4455c4cf..8a5efdfe162 100644 |
19 |
--- a/net-analyzer/nstats/nstats-0.4-r3.ebuild |
20 |
+++ b/net-analyzer/nstats/nstats-0.4-r3.ebuild |
21 |
@@ -2,7 +2,7 @@ |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
-inherit autotools |
26 |
+inherit autotools flag-o-matic |
27 |
|
28 |
DESCRIPTION="Displays statistics about ethernet traffic including protocol breakdown" |
29 |
SRC_URI="http://trash.net/~reeler/nstats/files/${P}.tar.gz" |
30 |
@@ -29,6 +29,10 @@ DOCS=( BUGS doc/TODO doc/ChangeLog ) |
31 |
|
32 |
src_prepare(){ |
33 |
default |
34 |
- |
35 |
eautoreconf |
36 |
} |
37 |
+ |
38 |
+src_configure() { |
39 |
+ append-cflags -fcommon |
40 |
+ default |
41 |
+} |