summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-01-08 00:44:24 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-01-08 00:44:24 +0000
commit8ef08b59c587a6ee734a3a3f948f62fae0278a58 (patch)
treee33516644c17e4493f40c8c415eb0cec0ba00469 /www
parentChange BROKEN to FORBIDDEN, argh. (diff)
Fix for new libwww
Submitted by: Takuya TSUMURA <tsumura@jwri.osaka-u.ac.jp>
Notes
Notes: svn path=/head/; revision=24531
Diffstat (limited to 'www')
-rw-r--r--www/w3mir/Makefile2
-rw-r--r--www/w3mir/files/patch-aa19
2 files changed, 19 insertions, 2 deletions
diff --git a/www/w3mir/Makefile b/www/w3mir/Makefile
index 6e974e51f124..5839b9bfbb97 100644
--- a/www/w3mir/Makefile
+++ b/www/w3mir/Makefile
@@ -14,8 +14,6 @@ MAINTAINER= ache@freebsd.org
BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/LWP.pm:${PORTSDIR}/www/p5-libwww
-BROKEN= "Not yet ready for latest p5-libwww"
-
USE_PERL5= Yes
MAN1= w3mir.1 w3mfix.1
diff --git a/www/w3mir/files/patch-aa b/www/w3mir/files/patch-aa
new file mode 100644
index 000000000000..60c876097c8f
--- /dev/null
+++ b/www/w3mir/files/patch-aa
@@ -0,0 +1,19 @@
+--- w3http.pm.orig Fri May 28 23:35:19 1999
++++ w3http.pm Sat Jan 8 03:35:34 2000
+@@ -133,13 +133,13 @@
+ use URI::URL;
+
+ # Suplementary libwww-perl:
+-sub URI::URL::_generic::basename {
++sub URI::_generic::basename {
+ my $self = shift;
+- my @p = $self->path_components;
++ my @p = $self->path_segments;
+ my $old = $p[-1];
+ if (@_) {
+ splice(@p, -1, 1, shift);
+- $self->path_components(@p)
++ $self->path_segments(@p);
+ }
+ $old;
+ }