summaryrefslogtreecommitdiff
path: root/print/html2ps/files/patch-html2ps
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2020-02-22 20:59:43 +0000
committerHiroki Sato <hrs@FreeBSD.org>2020-02-22 20:59:43 +0000
commite7af5367ffb581937fec427918f63fc6ee89cff9 (patch)
treeae272b0168bf5138cf591c873cf43d6ae615e36f /print/html2ps/files/patch-html2ps
parentUnbreak the build: (diff)
Unbreak build:
- Update MASTER_SITES. - Fix styles. - Regenerate patches. - Remove the WWW: line from pkg-descr because it is no longer available. PR: 244238
Notes
Notes: svn path=/head/; revision=526858
Diffstat (limited to 'print/html2ps/files/patch-html2ps')
-rw-r--r--print/html2ps/files/patch-html2ps14
1 files changed, 7 insertions, 7 deletions
diff --git a/print/html2ps/files/patch-html2ps b/print/html2ps/files/patch-html2ps
index 89acd7817d75..84c80ddf321f 100644
--- a/print/html2ps/files/patch-html2ps
+++ b/print/html2ps/files/patch-html2ps
@@ -1,6 +1,6 @@
---- html2ps.orig 2010-05-07 20:22:12.000000000 +0900
-+++ html2ps 2013-04-29 00:07:16.000000000 +0900
-@@ -26,8 +26,9 @@
+--- html2ps.orig 2010-05-07 11:22:12 UTC
++++ html2ps
+@@ -26,8 +26,9 @@ eval 'exec perl -S $0 "$@"'
# Set the name of the global configuration file. See the installation notes
# and manual page for more details on configuration files.
@@ -12,7 +12,7 @@
$conf=<<'EOR';
@html2ps {
-@@ -46,7 +47,7 @@
+@@ -46,7 +47,7 @@ $conf=<<'EOR';
path: "";
}
paper {
@@ -21,7 +21,7 @@
height: "";
width: "";
}
-@@ -613,6 +614,23 @@
+@@ -613,6 +614,23 @@ for (0..10) {
$height{"b$_"}=int($temp*2**(1/2)*1000+.5)/10;
}
if(!$pagew || !$pageh) {
@@ -45,7 +45,7 @@
if($width{"\L$paper{'type'}"}) {
$paper{'width'}=$width{"\L$paper{'type'}"} if(!defined $paper{'width'});
$paper{'height'}=$height{"\L$paper{'type'}"} if(!defined $paper{'height'});
-@@ -620,6 +638,7 @@
+@@ -620,6 +638,7 @@ if(!$pagew || !$pageh) {
} elsif($paper{'type'}) {
&dbg("Unknown paper type: $paper{'type'}\n");
}
@@ -53,7 +53,7 @@
}
if($opt_L) {
$wl=$pageh-$mll-$mrl;
-@@ -3405,7 +3424,6 @@
+@@ -3405,7 +3424,6 @@ sub Getopts {
local($optlist)=@_;
local(@args,$_,$opt,$opts,$rest,$olist,$plist,$found,@popts);
local($errs)=0;