summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-01-27 19:38:56 +0100
committerJeroen Roovers <jer@gentoo.org>2020-01-27 19:40:42 +0100
commitfd4bed892c78dd78b0441dfa99b69bd3bd6812d0 (patch)
tree40d315b52760c6ba88ac4c6c85a2df5d88ca80a1 /net-analyzer/argus/files
parentx11-wm/wmfs: Fix CFLAGS=-fno-common (diff)
downloadgentoo-fd4bed892c78dd78b0441dfa99b69bd3bd6812d0.tar.gz
gentoo-fd4bed892c78dd78b0441dfa99b69bd3bd6812d0.tar.bz2
gentoo-fd4bed892c78dd78b0441dfa99b69bd3bd6812d0.zip
net-analyzer/argus: Fix CFLAGS=-fno-common
- EAPI=7 - Set new HOMEPAGE - Remove unneeded definitions to fix CFLAGS=-fno-common Package-Manager: Portage-2.3.85, Repoman-2.3.20 Closes: https://bugs.gentoo.org/706668 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/argus/files')
-rw-r--r--net-analyzer/argus/files/argus-3.0.8.2-fno-common.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/net-analyzer/argus/files/argus-3.0.8.2-fno-common.patch b/net-analyzer/argus/files/argus-3.0.8.2-fno-common.patch
new file mode 100644
index 000000000000..66f950d0c04d
--- /dev/null
+++ b/net-analyzer/argus/files/argus-3.0.8.2-fno-common.patch
@@ -0,0 +1,45 @@
+--- a/include/argus/bootp.h
++++ b/include/argus/bootp.h
+@@ -45,6 +45,8 @@
+ unsigned char bp_vend[64]; /* vendor-specific area */
+ };
+
++extern struct bootp *bp;
++
+ /*
+ * UDP port numbers, server and client.
+ */
+--- a/argus/ArgusUdp.c
++++ b/argus/ArgusUdp.c
+@@ -40,9 +40,6 @@
+ #include <argus_compat.h>
+ #include <ArgusModeler.h>
+
+-#include <argus/bootp.h>
+-struct bootp *bp;
+-
+ void ArgusUpdateUDPState (struct ArgusModelerStruct *, struct ArgusFlowStruct *, unsigned char *);
+
+ void
+--- a/argus/ArgusUdt.c
++++ b/argus/ArgusUdt.c
+@@ -40,9 +40,6 @@
+ #include <argus_compat.h>
+ #include <ArgusModeler.h>
+
+-#include <argus/bootp.h>
+-struct bootp *bp;
+-
+ struct ArgusSystemFlow *
+ ArgusCreateUDTFlow (struct ArgusModelerStruct *model, struct udt_header *udt)
+ {
+--- a/argus/ArgusModeler.c
++++ b/argus/ArgusModeler.c
+@@ -43,7 +43,6 @@
+
+ #include <argus.h>
+
+-#include <argus/bootp.h>
+ #include <signal.h>
+
+ #include <sched.h>