aboutsummaryrefslogtreecommitdiffstats
path: root/print/html2ps-letter
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1999-07-20 03:58:06 +0800
committerandreas <andreas@FreeBSD.org>1999-07-20 03:58:06 +0800
commit57ab288009b75e4df05add12c3dc35cde4719c56 (patch)
treee51a62649db04cc40152801c2fa5bea4c4e097d2 /print/html2ps-letter
parentb57e665f5958a46b3ff58c9d3bf3254b9c97b725 (diff)
downloadfreebsd-ports-gnome-57ab288009b75e4df05add12c3dc35cde4719c56.tar.gz
freebsd-ports-gnome-57ab288009b75e4df05add12c3dc35cde4719c56.tar.zst
freebsd-ports-gnome-57ab288009b75e4df05add12c3dc35cde4719c56.zip
Fixed bug: html2ps chokes on pictures inserted via
<img src="file:/foo/bar.gif"> Thus mswordview output isn't parsed properly. PR: closes 10874 Submitted by: stanislav shalunov <shalunov@att.com>
Diffstat (limited to 'print/html2ps-letter')
-rw-r--r--print/html2ps-letter/files/patch-ab14
1 files changed, 11 insertions, 3 deletions
diff --git a/print/html2ps-letter/files/patch-ab b/print/html2ps-letter/files/patch-ab
index 8ed6d172c18a..b71569dcc578 100644
--- a/print/html2ps-letter/files/patch-ab
+++ b/print/html2ps-letter/files/patch-ab
@@ -1,9 +1,17 @@
---- html2ps.orig Sun May 17 21:29:01 1998
-+++ html2ps Sun May 17 21:29:26 1998
+--- html2ps.orig Sat Aug 9 20:59:05 1997
++++ html2ps Mon Jul 19 21:55:04 1999
@@ -1,5 +1,5 @@
: # Use perl
-eval 'exec perl -S $0 "$@"'
-+eval 'exec !!PERL5!! -S $0 "$@"'
++eval 'exec /usr/bin/perl5 -S $0 "$@"'
if $running_under_some_shell;
# This is html2ps version 1.0 beta1, an HTML-to-PostScript converter.
+@@ -4072,6 +4072,7 @@
+ $URL=$url;
+ unless($url=~m|://|) {
+ if($url=~m|^http:(.*)|) {$url=$1}
++ if($url=~m|^file:(.*)|) {$url=$1}
+ if($url=~m|^/|) {$URL=$b1.$url} else {$URL=$b2.$url}
+ }
+ while($URL!~m|^\.\./| && $URL=~m|[^/]*/\.\./|) {$URL=$`.$'};