summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2015-12-03 18:19:39 +0100
committerAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2015-12-03 18:20:09 +0100
commitf939882e96e9020835ec6d883a5a8e4e4e1ad971 (patch)
treea74630f9dd73061476a8cb2e74a52cb40d31b433 /app-shells/psh/files
parentdev-libs/openssl: version bump to 0.9.8zh & 1.0.2e #567476 (diff)
downloadgentoo-f939882e96e9020835ec6d883a5a8e4e4e1ad971.tar.gz
gentoo-f939882e96e9020835ec6d883a5a8e4e4e1ad971.tar.bz2
gentoo-f939882e96e9020835ec6d883a5a8e4e4e1ad971.zip
app-shells/psh: Add compatibility patch for Perl 5.22; other QA cleanups
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-shells/psh/files')
-rw-r--r--app-shells/psh/files/psh-1.8.1-defined-array.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-shells/psh/files/psh-1.8.1-defined-array.patch b/app-shells/psh/files/psh-1.8.1-defined-array.patch
new file mode 100644
index 000000000000..e25c4df8b837
--- /dev/null
+++ b/app-shells/psh/files/psh-1.8.1-defined-array.patch
@@ -0,0 +1,11 @@
+--- lib/Psh.pm 2007-07-21 16:40:44.000000000 +1200
++++ 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) {