aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-12 21:41:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-12 21:41:25 +0000
commitd0bab09fc87b3d4bb399155022981b15a563f5a6 (patch)
tree43482f15a3d5c6c90e7a6ca2dd79ad2eb83777d4 /package/busybox
parent3937f1653c7f22f3cd5227ee39588d4d850dba1d (diff)
downloadmaster-187ad058-d0bab09fc87b3d4bb399155022981b15a563f5a6.tar.gz
master-187ad058-d0bab09fc87b3d4bb399155022981b15a563f5a6.tar.bz2
master-187ad058-d0bab09fc87b3d4bb399155022981b15a563f5a6.zip
add busybox gunzip/ipkg fix from #2691 (thanks, biblbroks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9546 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/patches/530-gunzip_src_fd.patch11
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 0000000000..3882628a1e
--- /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)) {