1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

devel/p5-Data-Unixish: add patches to fix run time issues

PR:		243897
Submitted by:	Zane C. Bowers-Hadley <vvelox@vvelox.net> (maintainer)
This commit is contained in:
Steve Wills 2020-08-16 13:03:42 +00:00
parent 0ea0c4c9b1
commit 8cc1e03304
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545106
44 changed files with 474 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= Data-Unixish
PORTVERSION= 1.572
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/avg.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/avg.pm
@@ -2,7 +2,7 @@ package Data::Unixish::avg;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/bool.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/bool.pm
@@ -2,7 +2,7 @@ package Data::Unixish::bool;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use utf8;
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/cat.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/cat.pm
@@ -2,7 +2,7 @@ package Data::Unixish::cat;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/centerpad.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/centerpad.pm
@@ -3,7 +3,7 @@ package Data::Unixish::centerpad;
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/chain.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/chain.pm
@@ -3,7 +3,7 @@ package Data::Unixish::chain;
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/cond.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/cond.pm
@@ -3,7 +3,7 @@ package Data::Unixish::cond;
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/count.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/count.pm
@@ -7,7 +7,7 @@ our $VERSION = '1.572'; # VERSION
use 5.010001;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
use Log::ger;

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/date.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/date.pm
@@ -2,7 +2,7 @@ package Data::Unixish::date;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';
use POSIX qw(strftime);

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/grep.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/grep.pm
@@ -3,7 +3,7 @@ package Data::Unixish::grep;
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/head.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/head.pm
@@ -2,7 +2,7 @@ package Data::Unixish::head;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/indent.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/indent.pm
@@ -2,7 +2,7 @@ package Data::Unixish::indent;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/join.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/join.pm
@@ -6,7 +6,7 @@ our $VERSION = '1.572'; # VERSION
use 5.010001;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/lc.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/lc.pm
@@ -2,7 +2,7 @@ package Data::Unixish::lc;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/lcfirst.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/lcfirst.pm
@@ -2,7 +2,7 @@ package Data::Unixish::lcfirst;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/lins.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/lins.pm
@@ -2,7 +2,7 @@ package Data::Unixish::lins;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/linum.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/linum.pm
@@ -2,7 +2,7 @@ package Data::Unixish::linum;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/lpad.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/lpad.pm
@@ -3,7 +3,7 @@ package Data::Unixish::lpad;
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/ltrim.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/ltrim.pm
@@ -2,7 +2,7 @@ package Data::Unixish::ltrim;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/map.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/map.pm
@@ -3,7 +3,7 @@ package Data::Unixish::map;
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/num.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/num.pm
@@ -6,7 +6,7 @@ our $VERSION = '1.572'; # VERSION
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/pick.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/pick.pm
@@ -2,7 +2,7 @@ package Data::Unixish::pick;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/rand.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/rand.pm
@@ -2,7 +2,7 @@ package Data::Unixish::rand;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/randstr.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/randstr.pm
@@ -2,7 +2,7 @@ package Data::Unixish::randstr;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/rev.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/rev.pm
@@ -2,7 +2,7 @@ package Data::Unixish::rev;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/rins.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/rins.pm
@@ -2,7 +2,7 @@ package Data::Unixish::rins;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/rpad.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/rpad.pm
@@ -3,7 +3,7 @@ package Data::Unixish::rpad;
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/rtrim.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/rtrim.pm
@@ -2,7 +2,7 @@ package Data::Unixish::rtrim;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/shuf.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/shuf.pm
@@ -2,7 +2,7 @@ package Data::Unixish::shuf;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/sort.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/sort.pm
@@ -2,7 +2,7 @@ package Data::Unixish::sort;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/splice.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/splice.pm
@@ -6,7 +6,7 @@ our $VERSION = '1.572'; # VERSION
use 5.010001;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/split.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/split.pm
@@ -6,7 +6,7 @@ our $VERSION = '1.572'; # VERSION
use 5.010001;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/sprintf.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/sprintf.pm
@@ -3,7 +3,7 @@ package Data::Unixish::sprintf;
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/sprintfn.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/sprintfn.pm
@@ -3,7 +3,7 @@ package Data::Unixish::sprintfn;
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/subsort.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/subsort.pm
@@ -5,7 +5,7 @@ our $VERSION = '1.572'; # VERSION
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/sum.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/sum.pm
@@ -2,7 +2,7 @@ package Data::Unixish::sum;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';
use Scalar::Util 'looks_like_number';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/tail.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/tail.pm
@@ -2,7 +2,7 @@ package Data::Unixish::tail;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/trim.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/trim.pm
@@ -2,7 +2,7 @@ package Data::Unixish::trim;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/trunc.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/trunc.pm
@@ -6,7 +6,7 @@ our $VERSION = '1.572'; # VERSION
use 5.010;
use locale;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/uc.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/uc.pm
@@ -2,7 +2,7 @@ package Data::Unixish::uc;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/ucfirst.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/ucfirst.pm
@@ -2,7 +2,7 @@ package Data::Unixish::ucfirst;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/wc.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/wc.pm
@@ -2,7 +2,7 @@ package Data::Unixish::wc;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/wrap.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/wrap.pm
@@ -5,7 +5,7 @@ our $VERSION = '1.572'; # VERSION
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';

View File

@ -0,0 +1,11 @@
--- lib/Data/Unixish/yes.pm.orig 2019-10-26 02:14:22 UTC
+++ lib/Data/Unixish/yes.pm
@@ -2,7 +2,7 @@ package Data::Unixish::yes;
use 5.010;
use strict;
-use syntax 'each_on_array'; # to support perl < 5.12
+#use syntax 'each_on_array'; # to support perl < 5.12
use warnings;
#use Log::Any '$log';