summaryrefslogtreecommitdiff
path: root/print/html2ps-letter/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'print/html2ps-letter/files/patch-ab')
-rw-r--r--print/html2ps-letter/files/patch-ab18
1 files changed, 5 insertions, 13 deletions
diff --git a/print/html2ps-letter/files/patch-ab b/print/html2ps-letter/files/patch-ab
index 866d1059f53e..da70d6d5d0f6 100644
--- a/print/html2ps-letter/files/patch-ab
+++ b/print/html2ps-letter/files/patch-ab
@@ -1,26 +1,18 @@
---- html2ps.orig Sat Aug 9 20:59:05 1997
-+++ html2ps Fri Sep 10 00:00:25 1999
+--- html2ps.orig Thu Aug 17 00:42:03 2000
++++ html2ps Thu Jan 4 17:25:26 2001
@@ -1,5 +1,5 @@
: # Use perl
-eval 'exec perl -S $0 "$@"'
+eval 'exec !!PERL5!! -S $0 "$@"'
if $running_under_some_shell;
- # This is html2ps version 1.0 beta1, an HTML-to-PostScript converter.
+ # This is html2ps version 1.0 beta3, an HTML-to-PostScript converter.
@@ -26,7 +26,7 @@
# Set the name of the global configuration file. See the installation notes
# and manual page for more details on configuration files.
--$globrc='/opt/tdb/lib/html2ps/html2psrc';
+-$globrc='/usr/local/lib/html2ps/html2psrc';
+$globrc='!!PREFIX!!/lib/html2ps/html2psrc';
+ $ug='/usr/local/lib/html2ps/html2ps.html';
$conf=<<'EOR';
- @html2ps {
-@@ -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=$`.$'};