- initial - added upstream patch psh.patch to fix build see https://rt.cpan.org/Public/Bug/Display.html?id=105916 OBS-URL: https://build.opensuse.org/request/show/635817 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-psh?expand=0&rev=1
12 lines
315 B
Diff
12 lines
315 B
Diff
--- a/psh-1.8.1/lib/Psh.pm 2007-07-21 16:40:44.000000000 +1200
|
|
+++ b/psh-1.8.1/lib/Psh.pm 2015-07-18 05:30:29.840928282 +1200
|
|
@@ -367,7 +367,7 @@
|
|
|
|
sub defined_and_nonempty
|
|
{
|
|
- if (!defined(@_)) { return 0; }
|
|
+ if (!@_) { return 0; }
|
|
if (scalar(@_) == 0) { return 0; }
|
|
|
|
if (scalar(@_) == 1) {
|