freebsd-ports/net/trafshow/files/extra-patch-800074+
Li-Wen Hsu edad4d701c - Add a patch for fixing building on 8-CURRENT
PR:		ports/133193
Submitted by:	Alexey V.Degtyarev <alexey AT renatasystems.org> (maintainer)
2009-03-30 01:26:39 +00:00

23 lines
618 B
Text

#
# http://lists.freebsd.org/pipermail/freebsd-ports/2009-March/053823.html
#
--- show_dump.c.orig 2009-03-29 23:18:16.000000000 +0400
+++ show_dump.c 2009-03-29 23:18:24.000000000 +0400
@@ -30,6 +30,7 @@
#include <string.h>
#include <unistd.h>
#include <errno.h>
+#include <net/bpf.h>
#include <pcap.h>
#include <pthread.h>
#include <time.h>
--- trafshow.c.orig 2009-03-29 23:18:49.000000000 +0400
+++ trafshow.c 2009-03-29 23:18:58.000000000 +0400
@@ -30,6 +30,7 @@
#include <string.h>
#include <unistd.h>
#include <time.h>
+#include <net/bpf.h>
#include <pcap.h>
#include <pthread.h>
#include <errno.h>