net/argus: fix the build with -fno-common; ok gnezdo@
This commit is contained in:
parent
eb1b4e8523
commit
0cd5bbcf01
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2020/03/20 16:44:25 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2021/02/25 21:30:28 naddy Exp $
|
||||
|
||||
COMMENT = Audit Record Generation and Utilization System
|
||||
|
||||
DISTNAME = argus-3.0.8.2
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
CATEGORIES = net
|
||||
|
||||
HOMEPAGE = http://qosient.com/argus/
|
||||
|
17
net/argus/patches/patch-argus_ArgusUdt_c
Normal file
17
net/argus/patches/patch-argus_ArgusUdt_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-argus_ArgusUdt_c,v 1.1 2021/02/25 21:30:28 naddy Exp $
|
||||
|
||||
Fix for -fno-common: remove unused variable duplicated in ArgusUdp.c
|
||||
|
||||
Index: argus/ArgusUdt.c
|
||||
--- argus/ArgusUdt.c.orig
|
||||
+++ 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)
|
||||
{
|
Loading…
x
Reference in New Issue
Block a user