summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-02-01 01:15:26 +0100
committerJeroen Roovers <jer@gentoo.org>2020-02-01 01:15:49 +0100
commit045fce9aa45279bdbbfa9ce0e4b844f32ef7d337 (patch)
treec33ac71f75e51a7a905c525d380bac1188fbd033 /net-analyzer/apinger/files/apinger-0.4.1-fno-common.patch
parentapp-admin/mcelog: Drop old versions (diff)
downloadgentoo-045fce9aa45279bdbbfa9ce0e4b844f32ef7d337.tar.gz
gentoo-045fce9aa45279bdbbfa9ce0e4b844f32ef7d337.tar.bz2
gentoo-045fce9aa45279bdbbfa9ce0e4b844f32ef7d337.zip
net-analyzer/apinger: Fix CFLAGS=-fno-common
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=707596 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/apinger/files/apinger-0.4.1-fno-common.patch')
-rw-r--r--net-analyzer/apinger/files/apinger-0.4.1-fno-common.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/apinger/files/apinger-0.4.1-fno-common.patch b/net-analyzer/apinger/files/apinger-0.4.1-fno-common.patch
new file mode 100644
index 000000000000..d74dc1c66f27
--- /dev/null
+++ b/net-analyzer/apinger/files/apinger-0.4.1-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/src/apinger.h
++++ b/src/apinger.h
+@@ -99,7 +99,7 @@
+ void *target_id;
+ };
+
+-struct target *targets;
++extern struct target *targets;
+
+ extern int foreground;
+ extern char *config_file;