aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2015-10-13 22:55:17 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-24 12:17:45 +0100
commitb983822b57f60c5c210c9f23b3541f450d04ae3d (patch)
treee114ccae3ec8f5d497376bffaf32d4e96f05f67c /meta/recipes-extended/bzip2/bzip2_1.0.6.bb
parent48a596fe8564d8bbc3b84dcc47dec8476e7da0d2 (diff)
downloadopenembedded-core-contrib-b983822b57f60c5c210c9f23b3541f450d04ae3d.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). Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/bzip2/bzip2_1.0.6.bb')
-rw-r--r--meta/recipes-extended/bzip2/bzip2_1.0.6.bb1
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
PR = "r5"
SRC_URI = "http://www.bzip.org/${PV}/${BP}.tar.gz \
+ file://fix-bunzip2-qt-returns-0-for-corrupt-archives.patch \
file://configure.ac;subdir=${BP} \
file://Makefile.am;subdir=${BP} \
file://run-ptest"