From pi@fa9.opsec.eu  Sat Dec 22 16:15:23 2012
Return-Path: <pi@fa9.opsec.eu>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id CE894C15;
	Sat, 22 Dec 2012 16:15:23 +0000 (UTC)
	(envelope-from pi@fa9.opsec.eu)
Received: from fa9.opsec.eu (zfs.opsec.eu [IPv6:2001:14f8:200:4::18])
	by mx1.freebsd.org (Postfix) with ESMTP id 862028FC0A;
	Sat, 22 Dec 2012 16:15:23 +0000 (UTC)
Received: from pi by fa9.opsec.eu with local (Exim 4.80.1 (FreeBSD))
	(envelope-from <pi@fa9.opsec.eu>)
	id 1TmRjN-0006C1-8u; Sat, 22 Dec 2012 17:15:21 +0100
Message-Id: <E1TmRjN-0006C1-8u@fa9.opsec.eu>
Date: Sat, 22 Dec 2012 17:15:21 +0100
From: Kurt Jaeger <fbsd-ports@opsec.eu>
Reply-To: Kurt Jaeger <fbsd-ports@opsec.eu>
To: FreeBSD-gnats-submit@freebsd.org
Cc: tobez@FreeBSD.org
Subject: [patch update] fix build for p5-Net-Pcap
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         174634
>Category:       ports
>Synopsis:       [patch update] fix build for p5-Net-Pcap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 22 16:20:00 UTC 2012
>Closed-Date:    Sat Dec 22 18:23:47 CET 2012
>Last-Modified:  Sat Dec 22 18:23:47 CET 2012
>Originator:     Kurt Jaeger
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
-
>Environment:
System: FreeBSD fa9.opsec.eu 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	p5-Net-Pcap fails to build because there the extra patch that no
	longer applies for 0.17.

>How-To-Repeat:
	make
	it fails with
-------
fa9# make
===>  Extracting for p5-Net-Pcap-0.17
=> SHA256 Checksum OK for Net-Pcap-0.17.tar.gz.
===>   p5-Net-Pcap-0.17 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Patching for p5-Net-Pcap-0.17
===>   p5-Net-Pcap-0.17 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Applying extra patch /usr/ports/net/p5-Net-Pcap/files/extra-patch-t__03-openlive.t
1 out of 1 hunks failed--saving rejects to t/03-openlive.t.rej
*** [do-patch] Error code 1

-------
>Fix:

rm files/extra-patch-t__03-openlive.t

and apply this patch:

diff -r -u net/p5-Net-Pcap/Makefile /usr/home/pi/myp/net/p5-Net-Pcap/Makefile
--- net/p5-Net-Pcap/Makefile	2012-12-22 17:06:46.000000000 +0100
+++ /usr/home/pi/myp/net/p5-Net-Pcap/Makefile	2012-12-22 17:08:02.000000000 +0100
@@ -19,10 +19,4 @@
 MAN1=		pcapinfo.1
 MAN3=		Net::Pcap.3
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800000
-EXTRA_PATCHES+=	${FILESDIR}/extra-patch-t__03-openlive.t
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tobez 
State-Changed-When: Sat Dec 22 18:23:46 CET 2012 
State-Changed-Why:  
The fix has been committed. Thank you for your submission. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174634 
>Unformatted:
