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 0000000000000..e25c4df8b8370 --- /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) { diff --git a/app-shells/psh/psh-1.8.1-r1.ebuild b/app-shells/psh/psh-1.8.1-r1.ebuild index 8731c5961667d..79a11d7bbd272 100644 --- a/app-shells/psh/psh-1.8.1-r1.ebuild +++ b/app-shells/psh/psh-1.8.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -16,8 +16,9 @@ KEYWORDS="amd64 ppc x86" # Package warrants USE doc & examples IUSE="readline" -DEPEND="" -RDEPEND="readline? ( +DEPEND="