slackbuilds_ponce/misc/html2ps/no_deprecated_assignment.diff
B. Watson b87e77efaa 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>
2015-03-14 16:55:59 +07:00

11 lines
445 B
Diff

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}