svn commit: r351948 - in head/security/dsniff: . files
Renato Botelho
garga at FreeBSD.org
Wed Apr 23 14:24:14 UTC 2014
Author: garga
Date: Wed Apr 23 14:24:13 2014
New Revision: 351948
URL: http://svnweb.freebsd.org/changeset/ports/351948
QAT: https://qat.redports.org/buildarchive/r351948/
Log:
Fix build with clang:
. Add direct dependency to net/bpf.h
. Rename symbol csin to avoid conflict with complex.h
Approved by: portmgr (blanket)
Modified:
head/security/dsniff/Makefile
head/security/dsniff/files/patch-pcaputil.c
Modified: head/security/dsniff/Makefile
==============================================================================
--- head/security/dsniff/Makefile Wed Apr 23 14:22:47 2014 (r351947)
+++ head/security/dsniff/Makefile Wed Apr 23 14:24:13 2014 (r351948)
@@ -55,6 +55,9 @@ post-patch:
s|(LNETINC=).*|\1${LIBNET_INC}|; \
s|(LNETLIB=).*|\1${LIBNET_LIB}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's,csin,_csin,g' \
+ ${WRKSRC}/webmitm.c \
+ ${WRKSRC}/sshmitm.c
.if !empty(LIBNIDS_GLIB2)
pre-configure:
Modified: head/security/dsniff/files/patch-pcaputil.c
==============================================================================
--- head/security/dsniff/files/patch-pcaputil.c Wed Apr 23 14:22:47 2014 (r351947)
+++ head/security/dsniff/files/patch-pcaputil.c Wed Apr 23 14:24:13 2014 (r351948)
@@ -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>
More information about the svn-ports-all
mailing list