summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshattered <shattered>2011-10-01 11:36:11 +0000
committershattered <shattered>2011-10-01 11:36:11 +0000
commita649ac0b48822660773337e3c5fd503c5e72961d (patch)
tree1037c1c3f3eca9eeb212f798e7db73f62fb0d28f
parentc1f34efd56f1e8bd355e6a4780602234807a8fc7 (diff)
downloadpkgsrc-a649ac0b48822660773337e3c5fd503c5e72961d.tar.gz
Fix build on -current.
-rw-r--r--security/ssldump/distinfo4
-rw-r--r--security/ssldump/patches/patch-ab14
2 files changed, 11 insertions, 7 deletions
diff --git a/security/ssldump/distinfo b/security/ssldump/distinfo
index e0b02dbde32..801e89e1043 100644
--- a/security/ssldump/distinfo
+++ b/security/ssldump/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2011/09/13 17:27:36 shattered Exp $
+$NetBSD: distinfo,v 1.9 2011/10/01 11:36:11 shattered Exp $
SHA1 (ssldump-0.9b3.tar.gz) = a633a9a811a138eac5ed440d583473b644135ef5
RMD160 (ssldump-0.9b3.tar.gz) = 941cf8f2ef8459ec4f9ce65772e134505d46566f
Size (ssldump-0.9b3.tar.gz) = 137435 bytes
SHA1 (patch-aa) = 8ab6a65c0e338e99249a0c90b87340252494020a
-SHA1 (patch-ab) = 38479b85460d56841a62b04c1134461bfaae72e5
+SHA1 (patch-ab) = b56510f59ad2b3d520a9b0378c2502cac247268a
SHA1 (patch-aes) = 75180402f5a8d775dd27049700717d30063f3de9
diff --git a/security/ssldump/patches/patch-ab b/security/ssldump/patches/patch-ab
index 7fef127e661..fecd77f966b 100644
--- a/security/ssldump/patches/patch-ab
+++ b/security/ssldump/patches/patch-ab
@@ -1,14 +1,18 @@
-$NetBSD: patch-ab,v 1.2 2007/06/17 01:40:51 hubertf Exp $
+$NetBSD: patch-ab,v 1.3 2011/10/01 11:36:12 shattered Exp $
---- base/pcap-snoop.c.orig 2002-09-09 23:02:58.000000000 +0200
+--- base/pcap-snoop.c.orig 2002-09-09 21:02:58.000000000 +0000
+++ base/pcap-snoop.c
-@@ -49,7 +49,9 @@ static char *RCSSTRING="$Id: pcap-snoop.
+@@ -48,7 +48,12 @@ static char *RCSSTRING="$Id: pcap-snoop.
- #include <pcap.h>
+
+-#include <pcap.h>
#include <unistd.h>
+#if !defined(__DragonFly__) && !defined(__APPLE__)
#include <net/bpf.h>
+#endif
++#if defined(__NetBSD__)
++#define PCAP_DONT_INCLUDE_PCAP_BPF_H
++#endif
++#include <pcap.h>
#ifndef _WIN32
#include <sys/param.h>
- #endif