Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hping/, net-analyzer/hping/files/
Date: Mon, 27 Jan 2020 00:45:00
Message-Id: 1580085890.b5e5f0a4194fe88aafa939045d92391eeeb87bff.jer@gentoo
1 commit: b5e5f0a4194fe88aafa939045d92391eeeb87bff
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 27 00:44:34 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 27 00:44:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e5f0a4
7
8 net-analyzer/hping: Fix CFLAGS=-fno-common
9
10 Package-Manager: Portage-2.3.85, Repoman-2.3.20
11 Closes: https://bugs.gentoo.org/show_bug.cgi?id=706566
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 net-analyzer/hping/files/hping-3_pre20141226-fno-common.patch | 11 +++++++++++
15 net-analyzer/hping/hping-3_pre20141226.ebuild | 3 ++-
16 2 files changed, 13 insertions(+), 1 deletion(-)
17
18 diff --git a/net-analyzer/hping/files/hping-3_pre20141226-fno-common.patch b/net-analyzer/hping/files/hping-3_pre20141226-fno-common.patch
19 new file mode 100644
20 index 00000000000..e21a6d513c5
21 --- /dev/null
22 +++ b/net-analyzer/hping/files/hping-3_pre20141226-fno-common.patch
23 @@ -0,0 +1,11 @@
24 +--- a/hping2.h
25 ++++ b/hping2.h
26 +@@ -357,8 +357,6 @@
27 + int status;
28 + };
29 +
30 +-volatile struct delaytable_element delaytable[TABLESIZE];
31 +-
32 + /* protos */
33 + void nop(void); /* nop */
34 + int parse_options(int, char**); /* option parser */
35
36 diff --git a/net-analyzer/hping/hping-3_pre20141226.ebuild b/net-analyzer/hping/hping-3_pre20141226.ebuild
37 index 72c3c724933..3c3a3f166ea 100644
38 --- a/net-analyzer/hping/hping-3_pre20141226.ebuild
39 +++ b/net-analyzer/hping/hping-3_pre20141226.ebuild
40 @@ -1,4 +1,4 @@
41 -# Copyright 1999-2018 Gentoo Foundation
42 +# Copyright 1999-2020 Gentoo Authors
43 # Distributed under the terms of the GNU General Public License v2
44
45 EAPI=6
46 @@ -33,6 +33,7 @@ PATCHES=(
47 "${FILESDIR}"/${PN}-3_pre20141226-pcap-bpf.patch
48 "${FILESDIR}"/${PN}-3_pre20141226-scan-overflow.patch
49 "${FILESDIR}"/${PN}-3_pre20141226-unused-but-set.patch
50 + "${FILESDIR}"/${PN}-3_pre20141226-fno-common.patch
51 )
52
53 src_configure() {