diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-11-12 21:41:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-11-12 21:41:25 +0000 |
commit | 391f696e4bbfdc0f856c73463bab43ba60704128 (patch) | |
tree | 246e544a0f86647378cad20799a31259a9a29fcb /package/busybox | |
parent | 071a9070152fd92d4c095d2dbab76210886e33c6 (diff) | |
download | mtk-20170518-391f696e4bbfdc0f856c73463bab43ba60704128.zip mtk-20170518-391f696e4bbfdc0f856c73463bab43ba60704128.tar.gz mtk-20170518-391f696e4bbfdc0f856c73463bab43ba60704128.tar.bz2 |
add busybox gunzip/ipkg fix from #2691 (thanks, biblbroks)
SVN-Revision: 9546
Diffstat (limited to 'package/busybox')
-rw-r--r-- | package/busybox/patches/530-gunzip_src_fd.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/patches/530-gunzip_src_fd.patch b/package/busybox/patches/530-gunzip_src_fd.patch new file mode 100644 index 0000000..3882628 --- /dev/null +++ b/package/busybox/patches/530-gunzip_src_fd.patch @@ -0,0 +1,11 @@ +diff -Naur a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c +--- a/archival/libunarchive/decompress_unzip.c 2007-11-10 02:40:48.000000000 +0100 ++++ b/archival/libunarchive/decompress_unzip.c 2007-11-12 02:34:43.000000000 +0100 +@@ -1178,6 +1178,7 @@ + ALLOC_STATE; + bytebuffer_max = 0x8000; + bytebuffer = xmalloc(bytebuffer_max); ++ gunzip_src_fd = in; + + again: + if (!check_header_gzip(PASS_STATE_ONLY)) { |