diff options
author | 2015-03-06 12:28:58 +0000 | |
---|---|---|
committer | 2015-03-06 12:28:58 +0000 | |
commit | 6e419ab21ccea6a623300f13662745ac54e4f57a (patch) | |
tree | 0ac53c8576b454caee6070b7d179781d72f3b4bf /app-admin/stow/files | |
parent | drop unnecessary use dep on libfm[gtk] (diff) | |
download | gentoo-2-6e419ab21ccea6a623300f13662745ac54e4f57a.tar.gz gentoo-2-6e419ab21ccea6a623300f13662745ac54e4f57a.tar.bz2 gentoo-2-6e419ab21ccea6a623300f13662745ac54e4f57a.zip |
Add upstream patch to fix bug #539702. Thanks to Erik Falor.
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'app-admin/stow/files')
-rw-r--r-- | app-admin/stow/files/stow-2.2.0-avoid-precedence-warning.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/stow/files/stow-2.2.0-avoid-precedence-warning.patch b/app-admin/stow/files/stow-2.2.0-avoid-precedence-warning.patch new file mode 100644 index 000000000000..75838e3a7c62 --- /dev/null +++ b/app-admin/stow/files/stow-2.2.0-avoid-precedence-warning.patch @@ -0,0 +1,13 @@ +--- lib/Stow.pm.in ++++ lib/Stow.pm.in +@@ -1734,8 +1734,8 @@ sub read_a_link { + } + elsif (-l $path) { + debug(4, " read_a_link($path): real link"); +- return readlink $path +- or error("Could not read link: $path"); ++ my $target = readlink $path or error("Could not read link: $path ($!)"); ++ return $target; + } + internal_error("read_a_link() passed a non link path: $path\n"); + } |