Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2016 04:27:51 +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: r422236 - in head/sysutils/pftop: . files
Message-ID:  <201609160427.u8G4RpvM031369@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Fri Sep 16 04:27:51 2016
New Revision: 422236
URL: https://svnweb.freebsd.org/changeset/ports/422236

Log:
  - Fix build on powerpc64.
  - Bump PORTREVISION.
  
  Submitted by:	demik475_gmail.com
  Differential Revision:	https://reviews.freebsd.org/D7862

Added:
  head/sysutils/pftop/files/patch-bpf_filter.c   (contents, props changed)
  head/sysutils/pftop/files/patch-bpf_image.c   (contents, props changed)
Modified:
  head/sysutils/pftop/Makefile

Modified: head/sysutils/pftop/Makefile
==============================================================================
--- head/sysutils/pftop/Makefile	Thu Sep 15 23:46:16 2016	(r422235)
+++ head/sysutils/pftop/Makefile	Fri Sep 16 04:27:51 2016	(r422236)
@@ -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

Added: head/sysutils/pftop/files/patch-bpf_filter.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/pftop/files/patch-bpf_filter.c	Fri Sep 16 04:27:51 2016	(r422236)
@@ -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;
+ {

Added: head/sysutils/pftop/files/patch-bpf_image.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/pftop/files/patch-bpf_image.c	Fri Sep 16 04:27:51 2016	(r422236)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609160427.u8G4RpvM031369>