Blame SOURCES/html2ps-1.0b7-Remove-deprecated-variable.patch

21a4ac
From cf9d76ef6b15bb31d86313e6b97ed13910908044 Mon Sep 17 00:00:00 2001
21a4ac
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
21a4ac
Date: Wed, 16 May 2012 14:40:41 +0200
21a4ac
Subject: [PATCH] Remove deprecated $[ variable
21a4ac
21a4ac
Usage of the variable is deprecated since perl 5.12 and it default to
21a4ac
0 either. See <https://bugzilla.redhat.com/show_bug.cgi?id=822117>.
21a4ac
---
21a4ac
 html2ps |    1 -
21a4ac
 1 files changed, 0 insertions(+), 1 deletions(-)
21a4ac
21a4ac
diff --git a/html2ps b/html2ps
21a4ac
index ba6bf3b..a5f363d 100755
21a4ac
--- a/html2ps
21a4ac
+++ b/html2ps
21a4ac
@@ -3405,7 +3405,6 @@ sub Getopts {
21a4ac
   local($optlist)=@_;
21a4ac
   local(@args,$_,$opt,$opts,$rest,$olist,$plist,$found,@popts);
21a4ac
   local($errs)=0;
21a4ac
-  local($[)=0;
21a4ac
   @args=split( /\|/, $optlist );
21a4ac
   for $opt (@args) {
21a4ac
     if(substr($opt,-1,1) ne ':') {$olist.=$opt}
21a4ac
-- 
21a4ac
1.7.7.6
21a4ac