Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2012 11:33:54 -0500 (EST)
From:      Steve Wills <swills@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        rafan@FreeBSD.org
Subject:   ports/164413: [PATCH] converters/p5-Encode: add patch to fix tests
Message-ID:  <201201231633.q0NGXsM0075939@meatwad.mouf.net>
Resent-Message-ID: <201201231640.q0NGe73Q095209@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164413
>Category:       ports
>Synopsis:       [PATCH] converters/p5-Encode: add patch to fix tests
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 23 16:40:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #8: Mon Dec 19 15:53:28 EST 2011
>Description:

The attached patch fixes "make test" with this module. Seems to be a slight bug
in the source. I've sent a request with this patch upstream. Thought I'd send
it your way in case you are interested.

Added file(s):
- files/patch-tpiconv

Port maintainer (rafan@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- p5-Encode-2.44.patch begins here ---
Index: files/patch-tpiconv
===================================================================
RCS file: files/patch-tpiconv
diff -N files/patch-tpiconv
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-tpiconv	23 Jan 2012 16:32:57 -0000
@@ -0,0 +1,13 @@
+--- t/piconv.t
++++ t/piconv.t
+@@ -27,8 +27,8 @@ sub run_cmd (;$$);
+ 
+ my $blib =
+   File::Spec->rel2abs(
+-    File::Spec->catdir( $FindBin::RealBin, File::Spec->updir, 'blib' ) );
+-my $script = File::Spec->catdir($blib, 'script', 'piconv');
++    File::Spec->catdir( $FindBin::RealBin, File::Spec->updir ) );
++my $script = File::Spec->catdir($blib, 'bin', 'piconv');
+ my @base_cmd = ( $^X, "-Mblib=$blib", $script );
+ 
+ plan tests => 5;
--- p5-Encode-2.44.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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