Date: Tue, 21 Oct 2014 07:03:35 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371311 - in head/sysutils/pftop: . files Message-ID: <201410210703.s9L73ZAR085862@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: araujo Date: Tue Oct 21 07:03:35 2014 New Revision: 371311 URL: https://svnweb.freebsd.org/changeset/ports/371311 QAT: https://qat.redports.org/buildarchive/r371311/ Log: - Mark as UNBROKEN on FreeBSD >= 1100000. PR: 188826 Submitted by: Oliver Peter Tested by: daniel.engberg.lists Added: head/sysutils/pftop/files/patch-bpf_dump.c (contents, props changed) head/sysutils/pftop/files/patch-sf-gencode.h (contents, props changed) Modified: head/sysutils/pftop/Makefile Modified: head/sysutils/pftop/Makefile ============================================================================== --- head/sysutils/pftop/Makefile Tue Oct 21 05:53:54 2014 (r371310) +++ head/sysutils/pftop/Makefile Tue Oct 21 07:03:35 2014 (r371311) @@ -3,7 +3,7 @@ PORTNAME= pftop PORTVERSION= 0.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils net MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/ @@ -12,10 +12,6 @@ COMMENT= Utility for real-time display o .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 1100000 -BROKEN= Does not compile on HEAD -.endif - .if ${OSVERSION} < 900039 MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=41 CFLAGS+= -DHAVE_ALTQ=1 Added: head/sysutils/pftop/files/patch-bpf_dump.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pftop/files/patch-bpf_dump.c Tue Oct 21 07:03:35 2014 (r371311) @@ -0,0 +1,15 @@ +--- bpf_dump.c.orig 2007-11-07 07:34:18.000000000 +0100 ++++ bpf_dump.c 2014-10-17 12:39:01.000000000 +0200 +@@ -33,10 +33,10 @@ + #include <stdio.h> + + +-extern void bpf_dump(struct bpf_program *, int); ++extern void bpf_dump(const struct bpf_program *, int); + + void +-bpf_dump(struct bpf_program *p, int option) ++bpf_dump(const struct bpf_program *p, int option) + { + struct bpf_insn *insn; + int i; Added: head/sysutils/pftop/files/patch-sf-gencode.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pftop/files/patch-sf-gencode.h Tue Oct 21 07:03:35 2014 (r371311) @@ -0,0 +1,10 @@ +--- sf-gencode.h 2014-10-17 12:39:16.000000000 +0200 ++++ sf-gencode.h.orig 2014-10-17 12:39:01.000000000 +0200 +@@ -188,7 +188,7 @@ + const char *sf_get_error(void); + int sf_compile(struct bpf_program *, char *, int, bpf_u_int32); + void sf_freecode(struct bpf_program *); +-void bpf_dump(struct bpf_program *, int); ++void bpf_dump(const struct bpf_program *, int); + + extern int no_optimize;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410210703.s9L73ZAR085862>