aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-07 21:33:44 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-07 21:33:44 +0000
commitac8911a9d4f375b412a887da6f1743aae5000856 (patch)
tree7cd231b8c88e8a62756f89ffd46b2a212c96c77b /net
parent053b2ba3f12e05b857538af127c2cfe58aaa4827 (diff)
downloadports-ac8911a9d4f375b412a887da6f1743aae5000856.tar.gz
ports-ac8911a9d4f375b412a887da6f1743aae5000856.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/trafshow/Makefile1
-rw-r--r--net/trafshow/files/patch-trafshow.c11
-rw-r--r--net/trafshow3/Makefile1
-rw-r--r--net/trafshow3/files/patch-trafshow.c11
4 files changed, 24 insertions, 0 deletions
diff --git a/net/trafshow/Makefile b/net/trafshow/Makefile
index 81f133465795..6909bc40de59 100644
--- a/net/trafshow/Makefile
+++ b/net/trafshow/Makefile
@@ -7,6 +7,7 @@
PORTNAME= trafshow
PORTVERSION= 5.2.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_NETBSD} \
diff --git a/net/trafshow/files/patch-trafshow.c b/net/trafshow/files/patch-trafshow.c
new file mode 100644
index 000000000000..e2db3953903e
--- /dev/null
+++ b/net/trafshow/files/patch-trafshow.c
@@ -0,0 +1,11 @@
+--- trafshow.c.orig Mon Jul 12 07:20:41 2004
++++ trafshow.c Mon Nov 7 22:25:56 2005
+@@ -305,7 +305,7 @@
+ fprintf(stderr, "%s: %s\n", dp->name, buf);
+ err++;
+ }
+- if (pcap_setnonblock(pd, 1, buf) < 0) {
++ if (pcap_setnonblock(pd, 0, buf) < 0) {
+ fprintf(stderr, "%s: %s\n", dp->name, buf);
+ pcap_close(pd);
+ err++;
diff --git a/net/trafshow3/Makefile b/net/trafshow3/Makefile
index 81f133465795..6909bc40de59 100644
--- a/net/trafshow3/Makefile
+++ b/net/trafshow3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= trafshow
PORTVERSION= 5.2.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_NETBSD} \
diff --git a/net/trafshow3/files/patch-trafshow.c b/net/trafshow3/files/patch-trafshow.c
new file mode 100644
index 000000000000..e2db3953903e
--- /dev/null
+++ b/net/trafshow3/files/patch-trafshow.c
@@ -0,0 +1,11 @@
+--- trafshow.c.orig Mon Jul 12 07:20:41 2004
++++ trafshow.c Mon Nov 7 22:25:56 2005
+@@ -305,7 +305,7 @@
+ fprintf(stderr, "%s: %s\n", dp->name, buf);
+ err++;
+ }
+- if (pcap_setnonblock(pd, 1, buf) < 0) {
++ if (pcap_setnonblock(pd, 0, buf) < 0) {
+ fprintf(stderr, "%s: %s\n", dp->name, buf);
+ pcap_close(pd);
+ err++;