aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-01-08 08:44:24 +0800
committerache <ache@FreeBSD.org>2000-01-08 08:44:24 +0800
commit35b738ffd5bc2842337ac87117b5c8cf96644da9 (patch)
tree869caf4d1039b44062f9fe3eed8bd9ee3f4d5010
parent9444d50110b4ee7e2af47a1b33c73d511c4649d6 (diff)
downloadfreebsd-ports-gnome-35b738ffd5bc2842337ac87117b5c8cf96644da9.tar.gz
freebsd-ports-gnome-35b738ffd5bc2842337ac87117b5c8cf96644da9.tar.zst
freebsd-ports-gnome-35b738ffd5bc2842337ac87117b5c8cf96644da9.zip
Fix for new libwww
Submitted by: Takuya TSUMURA <tsumura@jwri.osaka-u.ac.jp>
-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;
+ }