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