summaryrefslogtreecommitdiffstats
path: root/misc/html2ps/no_deprecated_assignment.diff
diff options
context:
space:
mode:
author B. Watson2015-03-11 05:19:55 +0100
committer Willy Sudiarto Raharjo2015-03-14 10:55:59 +0100
commitb87e77efaa6dee354718185c12617a212a92f808 (patch)
treeb93ad8d74a7a67b02e066d7b7211a8bc3ea5250a /misc/html2ps/no_deprecated_assignment.diff
parent4135399d2b844434d6d993f350ced140619a347b (diff)
downloadold.slackbuilds-b87e77efaa6dee354718185c12617a212a92f808.tar.gz
misc/html2ps: hardcode answers to the install script
If libwww-perl happens to be installed, one of the questions is skipped, which throws everything out of sync and makes the installation fail. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/html2ps/no_deprecated_assignment.diff')
-rw-r--r--misc/html2ps/no_deprecated_assignment.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/html2ps/no_deprecated_assignment.diff b/misc/html2ps/no_deprecated_assignment.diff
new file mode 100644
index 0000000000..88e803e797
--- /dev/null
+++ b/misc/html2ps/no_deprecated_assignment.diff
@@ -0,0 +1,11 @@
+diff -Naur html2ps-1.0b7/html2ps html2ps-1.0b7.patched/html2ps
+--- html2ps-1.0b7/html2ps 2010-05-07 07:22:12.000000000 -0400
++++ html2ps-1.0b7.patched/html2ps 2014-09-12 13:37:55.000000000 -0400
+@@ -3405,7 +3405,6 @@
+ local($optlist)=@_;
+ local(@args,$_,$opt,$opts,$rest,$olist,$plist,$found,@popts);
+ local($errs)=0;
+- local($[)=0;
+ @args=split( /\|/, $optlist );
+ for $opt (@args) {
+ if(substr($opt,-1,1) ne ':') {$olist.=$opt}