summaryrefslogtreecommitdiff
path: root/security/dsniff/files/patch-pcaputil.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-04-23 14:24:13 +0000
committerRenato Botelho <garga@FreeBSD.org>2014-04-23 14:24:13 +0000
commite7fef78c99e87a86240917fc9427865a37ee128f (patch)
tree993c6d336bb43a4c743b7a138f7dafc73f8c4220 /security/dsniff/files/patch-pcaputil.c
parentUpdate gstreamer 1.0 ports to version 1.2.4. (diff)
Fix build with clang:
. Add direct dependency to net/bpf.h . Rename symbol csin to avoid conflict with complex.h Approved by: portmgr (blanket)
Diffstat (limited to 'security/dsniff/files/patch-pcaputil.c')
-rw-r--r--security/dsniff/files/patch-pcaputil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/dsniff/files/patch-pcaputil.c b/security/dsniff/files/patch-pcaputil.c
index c8cc52011716..654e90a77162 100644
--- a/security/dsniff/files/patch-pcaputil.c
+++ b/security/dsniff/files/patch-pcaputil.c
@@ -1,10 +1,11 @@
--- ./pcaputil.c.orig Tue Nov 14 12:51:08 2000
+++ ./pcaputil.c Mon Sep 25 16:26:13 2006
-@@ -13,9 +13,9 @@
+@@ -13,9 +13,10 @@
#include <stdlib.h>
#include <string.h>
#include <err.h>
-#include <pcap.h>
++#include <net/bpf.h>
+#include </usr/include/pcap.h>
#ifdef BSD
-#include <pcap-int.h>