summaryrefslogtreecommitdiff
path: root/security/openvas-libraries/patches
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-12-13 11:01:11 +0000
committerjperkin <jperkin@pkgsrc.org>2013-12-13 11:01:11 +0000
commitd8de77a1d48e65d102cae242442bae61cda3c413 (patch)
tree6e2ca3c17b676c0553efc1fe3ade84c5a5f9ff5f /security/openvas-libraries/patches
parentd8d3fca5a5ed10a54b457db1acd9bc1931a68058 (diff)
downloadpkgsrc-d8de77a1d48e65d102cae242442bae61cda3c413.tar.gz
Include config.h before testing for things it defines. Fixes SunOS.
Diffstat (limited to 'security/openvas-libraries/patches')
-rw-r--r--security/openvas-libraries/patches/patch-ac15
1 files changed, 13 insertions, 2 deletions
diff --git a/security/openvas-libraries/patches/patch-ac b/security/openvas-libraries/patches/patch-ac
index 8cca6d063b1..8db8158499c 100644
--- a/security/openvas-libraries/patches/patch-ac
+++ b/security/openvas-libraries/patches/patch-ac
@@ -1,12 +1,23 @@
-$NetBSD: patch-ac,v 1.1.1.1 2009/01/04 01:08:52 adrianp Exp $
+$NetBSD: patch-ac,v 1.2 2013/12/13 11:01:11 jperkin Exp $
+
+Include config.h before testing for things it defines.
--- libopenvas/pcap.c.orig 2008-12-16 13:03:21.000000000 +0000
+++ libopenvas/pcap.c
-@@ -16,6 +16,7 @@
+@@ -16,6 +16,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
++#include "config.h"
+#include <netinet/in.h>
#include <resolv.h>
#include <pcap.h>
#include <net/if.h>
+@@ -33,7 +35,6 @@
+ #include "pcap_openvas.h"
+ #include "system_internal.h"
+ #include "network.h"
+-#include "config.h"
+
+ #define MAXROUTES 1024
+