diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2015-10-13 22:55:17 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-27 07:24:27 +0000 |
commit | dc8495fd1c1d73791619541a75cfc4ca2572e678 (patch) | |
tree | 55441f5888cc7ee6984a4bd816a25398658f858d /meta/recipes-extended/bzip2/bzip2_1.0.6.bb | |
parent | 5bf1430276c96c767364807f490e2a7f12823cc1 (diff) | |
download | poky-dc8495fd1c1d73791619541a75cfc4ca2572e678.tar.gz |
bzip2: fix bunzip2 -qt returns 0 for corrupt archives
"bzip2 -t FILE" returns 2 if FILE exists, but is not a valid bzip2 file.
"bzip2 -qt FILE" returns 0 when this happens, although it does print out
an error message as is does so.
This has been fix by Debian, just port changes from Debian patch file
"20-legacy.patch".
Debian defect:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=279025
Fix item from changelog:
http://archive.debian.net/changelogs/pool/main/b/bzip2/bzip2_1.0.2-7/changelog
* Fixed "bunzip2 -qt returns 0 for corrupt archives" (Closes: #279025).
(From OE-Core rev: b983822b57f60c5c210c9f23b3541f450d04ae3d)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bzip2/bzip2_1.0.6.bb')
-rw-r--r-- | meta/recipes-extended/bzip2/bzip2_1.0.6.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb index 233fe4c33b..d7b8c0655a 100644 --- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb +++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb | |||
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc | |||
9 | PR = "r5" | 9 | PR = "r5" |
10 | 10 | ||
11 | SRC_URI = "http://www.bzip.org/${PV}/${BP}.tar.gz \ | 11 | SRC_URI = "http://www.bzip.org/${PV}/${BP}.tar.gz \ |
12 | file://fix-bunzip2-qt-returns-0-for-corrupt-archives.patch \ | ||
12 | file://configure.ac;subdir=${BP} \ | 13 | file://configure.ac;subdir=${BP} \ |
13 | file://Makefile.am;subdir=${BP} \ | 14 | file://Makefile.am;subdir=${BP} \ |
14 | file://run-ptest" | 15 | file://run-ptest" |