diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-03-27 09:48:28 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-03-27 09:48:28 +0000 |
commit | 56b5e97ef6f0ae413f0d42a02756a1ef76c9bf33 (patch) | |
tree | 6851ba68b28390d394e5cd42105b934e37947b15 /app-arch/lbzip2/files | |
parent | Fix tests, bug 288689 (diff) | |
download | gentoo-2-56b5e97ef6f0ae413f0d42a02756a1ef76c9bf33.tar.gz gentoo-2-56b5e97ef6f0ae413f0d42a02756a1ef76c9bf33.tar.bz2 gentoo-2-56b5e97ef6f0ae413f0d42a02756a1ef76c9bf33.zip |
Add support for symlink decompression #309683
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/lbzip2/files')
-rw-r--r-- | app-arch/lbzip2/files/0.23-s_isreg.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-arch/lbzip2/files/0.23-s_isreg.patch b/app-arch/lbzip2/files/0.23-s_isreg.patch new file mode 100644 index 000000000000..aab683244d73 --- /dev/null +++ b/app-arch/lbzip2/files/0.23-s_isreg.patch @@ -0,0 +1,11 @@ +--- main.c.orig 2010-03-03 02:12:45.000000000 +0100 ++++ main.c 2010-03-15 10:20:19.562892780 +0100 +@@ -1252,7 +1252,7 @@ + return -1; + } + +- if (!S_ISREG(sbuf->st_mode)) { ++ if (!decompress && !S_ISREG(sbuf->st_mode)) { + log_warning("%s: skipping \"%s\": not a regular file\n", pname, + operand->val); + return -1; |