summaryrefslogtreecommitdiff
path: root/security
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
parentd8d3fca5a5ed10a54b457db1acd9bc1931a68058 (diff)
downloadpkgsrc-d8de77a1d48e65d102cae242442bae61cda3c413.tar.gz
Include config.h before testing for things it defines. Fixes SunOS.
Diffstat (limited to 'security')
-rw-r--r--security/openvas-libraries/distinfo4
-rw-r--r--security/openvas-libraries/patches/patch-ac15
2 files changed, 15 insertions, 4 deletions
diff --git a/security/openvas-libraries/distinfo b/security/openvas-libraries/distinfo
index 4de428a71a8..2078de1dea9 100644
--- a/security/openvas-libraries/distinfo
+++ b/security/openvas-libraries/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.4 2012/07/18 09:52:44 marino Exp $
+$NetBSD: distinfo,v 1.5 2013/12/13 11:01:11 jperkin Exp $
SHA1 (openvas-libraries-2.0.0.tar.gz) = e3b5614e8fa4721ad93a9eb483f4f0a23242d84b
RMD160 (openvas-libraries-2.0.0.tar.gz) = c7365d81289bca625ae984fceab901ced0626ce0
Size (openvas-libraries-2.0.0.tar.gz) = 425670 bytes
SHA1 (patch-aa) = a308f1af94cd5524745d2b1c4d311f10ec442de4
SHA1 (patch-ab) = 35935f39ad9c0a432abc1d6fc1ed93fb52a7218f
-SHA1 (patch-ac) = 50e33c8d9571e8c67052f3e0462d5ccd1f60eb0e
+SHA1 (patch-ac) = 92c9ffe9a59dab51a90b6e57d5ecfd994744b9d9
SHA1 (patch-ad) = 9a66d6ffad12edbc09176b390325065011abafa3
SHA1 (patch-ae) = e2d36036d2043fb0a4ad1ada281ec165ed9c08ea
SHA1 (patch-af) = edbabcc8b5f3a3a654f52ab678c932471f2fb1a7
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
+