summaryrefslogtreecommitdiff
path: root/recipes/busybox/busybox-1.13.2/busybox-1.13.2-unzip.patch
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2009-04-01 14:53:56 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2009-04-07 10:14:21 +0200
commita8ba77b61d7eddbe8b8b50431576967de7799970 (patch)
tree968773e354357d2aff665387464fce385c3f9222 /recipes/busybox/busybox-1.13.2/busybox-1.13.2-unzip.patch
parentfbf22c52a21c8f423d8c6683155be9248f21b31a (diff)
busybox 1.13.2: Add more upstream patches, bump PR
This adds the awk, killall, printf, syslogd, top24, unzip and wget patches from http://busybox.net/downloads/fixes-1.13.2/
Diffstat (limited to 'recipes/busybox/busybox-1.13.2/busybox-1.13.2-unzip.patch')
-rw-r--r--recipes/busybox/busybox-1.13.2/busybox-1.13.2-unzip.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.13.2/busybox-1.13.2-unzip.patch b/recipes/busybox/busybox-1.13.2/busybox-1.13.2-unzip.patch
new file mode 100644
index 0000000000..6b3f713ac5
--- /dev/null
+++ b/recipes/busybox/busybox-1.13.2/busybox-1.13.2-unzip.patch
@@ -0,0 +1,12 @@
+diff -urpN busybox-1.13.2/archival/unzip.c busybox-1.13.2-unzip/archival/unzip.c
+--- busybox-1.13.2/archival/unzip.c 2008-11-09 18:28:02.000000000 +0100
++++ busybox-1.13.2-unzip/archival/unzip.c 2009-02-26 12:17:21.000000000 +0100
+@@ -140,7 +140,7 @@ struct BUG_cde_header_must_be_16_bytes {
+ };
+
+ #define FIX_ENDIANNESS_CDE(cde_header) do { \
+- (cde_header).formatted.cds_offset = SWAP_LE16((cde_header).formatted.cds_offset); \
++ (cde_header).formatted.cds_offset = SWAP_LE32((cde_header).formatted.cds_offset); \
+ } while (0)
+
+ enum { zip_fd = 3 };