diff options
| author | Kent Fredric <kentnl@gentoo.org> | 2017-01-22 23:41:55 +1300 |
|---|---|---|
| committer | Kent Fredric <kentnl@gentoo.org> | 2017-01-22 23:44:19 +1300 |
| commit | 95e18c72344745e8f9c89c1737b92d0a3a45fbc7 (patch) | |
| tree | 9d845e8fdc4084c0cb11a052db9626bf064603a3 /app-shells/psh/files/psh-1.8.1-r3-defined-array.patch | |
| parent | aca17cd3e7dacbed2da7efd31e967907f9c7e255 (diff) | |
| download | gentoo-95e18c72344745e8f9c89c1737b92d0a3a45fbc7.tar.gz gentoo-95e18c72344745e8f9c89c1737b92d0a3a45fbc7.tar.bz2 gentoo-95e18c72344745e8f9c89c1737b92d0a3a45fbc7.zip | |
app-shells/psh: -r3 bump to use Github for SRC_URI + Fixes
- EAPI6
- Use Github instead of dead mirror
- Fix some basic bugs
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-shells/psh/files/psh-1.8.1-r3-defined-array.patch')
| -rw-r--r-- | app-shells/psh/files/psh-1.8.1-r3-defined-array.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-shells/psh/files/psh-1.8.1-r3-defined-array.patch b/app-shells/psh/files/psh-1.8.1-r3-defined-array.patch new file mode 100644 index 000000000000..660ca34daf44 --- /dev/null +++ b/app-shells/psh/files/psh-1.8.1-r3-defined-array.patch @@ -0,0 +1,11 @@ +--- a/lib/Psh.pm 2007-07-21 16:40:44.000000000 +1200 ++++ b/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) { |
