1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Fix building and running on 5.2.1.

This commit is contained in:
Edwin Groothuis 2004-02-28 11:24:53 +00:00
parent 650e73eb31
commit 124ae27621
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102380
2 changed files with 12 additions and 8 deletions

View File

@ -16,14 +16,8 @@ COMMENT= Easy packet filtering library based on ngrep
MAN3= ngrep-lib.3
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${PREFIX}
CONFIGURE_ARGS+=--prefix=${PREFIX} -without-restart
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not install on FreeBSD ${OSVERSION}"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
--- ngrep-lib.c.orig Sat Feb 28 22:23:31 2004
+++ ngrep-lib.c Sat Feb 28 22:23:46 2004
@@ -51,6 +51,7 @@
#include <netinet/udp.h>
#include <netinet/ip_icmp.h>
+#define PCAP_DONT_INCLUDE_PCAP_BPF_H
#include <pcap.h>
#include <net/bpf.h>