summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorhe <he>2008-08-06 09:40:51 +0000
committerhe <he>2008-08-06 09:40:51 +0000
commit902077ab936f867bbced053cfed8fe1b7a2321f6 (patch)
tree8eeadeb26794edf4994eca6767981bb29d026cb3 /www
parent1c8abe80a14b7939819b1e772bb756ca3b57e1dc (diff)
downloadpkgsrc-902077ab936f867bbced053cfed8fe1b7a2321f6.tar.gz
Update the patch to the test case, so that it works as intended both with
and without p5-Test-Output installed. Since this only affects the tests, no version bump to the package.
Diffstat (limited to 'www')
-rw-r--r--www/p5-HTML-Stream/distinfo4
-rw-r--r--www/p5-HTML-Stream/patches/patch-aa16
2 files changed, 14 insertions, 6 deletions
diff --git a/www/p5-HTML-Stream/distinfo b/www/p5-HTML-Stream/distinfo
index dd981c907e8..b5d0ea14fde 100644
--- a/www/p5-HTML-Stream/distinfo
+++ b/www/p5-HTML-Stream/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2008/08/05 11:22:13 he Exp $
+$NetBSD: distinfo,v 1.3 2008/08/06 09:40:51 he Exp $
SHA1 (HTML-Stream-1.59.tar.gz) = f0e2214ca6543446b2aa1311872806a616029abf
RMD160 (HTML-Stream-1.59.tar.gz) = adaa54013c4bcbe64097430960877e12b2a8d881
Size (HTML-Stream-1.59.tar.gz) = 61947 bytes
-SHA1 (patch-aa) = f8f9d63d0efd39ea1c4e1484273e7663cea44928
+SHA1 (patch-aa) = c21c524fa6ded8f7e59e1d3b8841a0dbe0b2a452
diff --git a/www/p5-HTML-Stream/patches/patch-aa b/www/p5-HTML-Stream/patches/patch-aa
index 1d974cbc75d..8d0472c8d08 100644
--- a/www/p5-HTML-Stream/patches/patch-aa
+++ b/www/p5-HTML-Stream/patches/patch-aa
@@ -1,13 +1,21 @@
-$NetBSD: patch-aa,v 1.1 2008/08/05 11:22:13 he Exp $
+$NetBSD: patch-aa,v 1.2 2008/08/06 09:40:51 he Exp $
---- t/02-OO_Tests.t.orig 2008-08-05 12:28:40.000000000 +0200
+--- t/02-OO_Tests.t.orig 2008-06-01 19:19:04.000000000 +0200
+++ t/02-OO_Tests.t
-@@ -43,7 +43,7 @@ is_deeply (\@tags, \@historic_tags, "Tag
+@@ -43,7 +43,8 @@ is_deeply (\@tags, \@historic_tags, "Tag
# Skip tests if we can't run them.
SKIP : {
skip 'Test::Output is needed for OO tests to run.', 16
- unless eval { require 'Test::Output' };
-+ unless ! eval { use Test::Output };
++ unless eval { require Test::Output };
++ Test::Output->import();
# Check that some of these tags actually work as expected...
stdout_is( sub { $HTML->ABBR }, "<ABBR>" );
+@@ -70,4 +71,4 @@ SKIP : {
+ stdout_is( sub { $HTML->nl(0) }, "" );
+ stdout_is( sub { $HTML->nl(-1) }, "" );
+ stdout_is( sub { $HTML->nl("a") }, "" );
+-}
+\ No newline at end of file
++}