commit: b5e5f0a4194fe88aafa939045d92391eeeb87bff Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Mon Jan 27 00:44:34 2020 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Mon Jan 27 00:44:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e5f0a4
net-analyzer/hping: Fix CFLAGS=-fno-common Package-Manager: Portage-2.3.85, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=706566 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> net-analyzer/hping/files/hping-3_pre20141226-fno-common.patch | 11 +++++++++++ net-analyzer/hping/hping-3_pre20141226.ebuild | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/net-analyzer/hping/files/hping-3_pre20141226-fno-common.patch b/net-analyzer/hping/files/hping-3_pre20141226-fno-common.patch new file mode 100644 index 00000000000..e21a6d513c5 --- /dev/null +++ b/net-analyzer/hping/files/hping-3_pre20141226-fno-common.patch @@ -0,0 +1,11 @@ +--- a/hping2.h ++++ b/hping2.h +@@ -357,8 +357,6 @@ + int status; + }; + +-volatile struct delaytable_element delaytable[TABLESIZE]; +- + /* protos */ + void nop(void); /* nop */ + int parse_options(int, char**); /* option parser */ diff --git a/net-analyzer/hping/hping-3_pre20141226.ebuild b/net-analyzer/hping/hping-3_pre20141226.ebuild index 72c3c724933..3c3a3f166ea 100644 --- a/net-analyzer/hping/hping-3_pre20141226.ebuild +++ b/net-analyzer/hping/hping-3_pre20141226.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -33,6 +33,7 @@ PATCHES=( "${FILESDIR}"/${PN}-3_pre20141226-pcap-bpf.patch "${FILESDIR}"/${PN}-3_pre20141226-scan-overflow.patch "${FILESDIR}"/${PN}-3_pre20141226-unused-but-set.patch + "${FILESDIR}"/${PN}-3_pre20141226-fno-common.patch ) src_configure() {