Page MenuHomeFreeBSD

D7862.diff
No OneTemporary

D7862.diff

Index: head/sysutils/pftop/Makefile
===================================================================
--- head/sysutils/pftop/Makefile
+++ head/sysutils/pftop/Makefile
@@ -3,15 +3,13 @@
PORTNAME= pftop
PORTVERSION= 0.7
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= sysutils net
MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/
MAINTAINER= araujo@FreeBSD.org
COMMENT= Utility for real-time display of statistics for pf
-BROKEN_powerpc64= Does not build
-
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1100080
Index: head/sysutils/pftop/files/patch-bpf_filter.c
===================================================================
--- head/sysutils/pftop/files/patch-bpf_filter.c
+++ head/sysutils/pftop/files/patch-bpf_filter.c
@@ -0,0 +1,13 @@
+--- bpf_filter.c.orig 2016-09-12 16:50:11.454297000 +0200
++++ bpf_filter.c 2016-09-12 16:43:28.150188000 +0200
+@@ -143,8 +143,8 @@
+ */
+ u_int
+ bpf_filter(pc, p, wirelen, buflen)
+- struct bpf_insn *pc;
+- u_char *p;
++ const struct bpf_insn *pc;
++ const u_char *p;
+ u_int wirelen;
+ u_int buflen;
+ {
Index: head/sysutils/pftop/files/patch-bpf_image.c
===================================================================
--- head/sysutils/pftop/files/patch-bpf_image.c
+++ head/sysutils/pftop/files/patch-bpf_image.c
@@ -0,0 +1,11 @@
+--- bpf_image.c.orig 2016-09-12 16:51:21.704680000 +0200
++++ bpf_image.c 2016-09-12 16:43:28.038646000 +0200
+@@ -36,7 +36,7 @@
+
+ char *
+ bpf_image(p, n)
+- struct bpf_insn *p;
++ const struct bpf_insn *p;
+ int n;
+ {
+ int v;

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 26, 8:10 PM (6 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24248392
Default Alt Text
D7862.diff (1 KB)

Event Timeline