summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.20.1/busybox-1.20.1-tar.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-06-09 08:38:46 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-10 21:40:43 +0200
commit64835258f7687b69d1046d035bf32aef12b26c28 (patch)
tree6161e588900925ca43547e5969edf90198611b75 /package/busybox/busybox-1.20.1/busybox-1.20.1-tar.patch
parent1bc8d2a21ae99eb41e383f3bf3d8553813066093 (diff)
downloadbuildroot-novena-64835258f7687b69d1046d035bf32aef12b26c28.tar.gz
buildroot-novena-64835258f7687b69d1046d035bf32aef12b26c28.zip
busybox 1.20.1: add patches for ash, ifupdown, man and tar
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.20.1/busybox-1.20.1-tar.patch')
-rw-r--r--package/busybox/busybox-1.20.1/busybox-1.20.1-tar.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.20.1/busybox-1.20.1-tar.patch b/package/busybox/busybox-1.20.1/busybox-1.20.1-tar.patch
new file mode 100644
index 000000000..4129b6517
--- /dev/null
+++ b/package/busybox/busybox-1.20.1/busybox-1.20.1-tar.patch
@@ -0,0 +1,11 @@
+--- busybox-1.20.1/archival/libarchive/get_header_tar.c
++++ busybox-1.20.1-tar/archival/libarchive/get_header_tar.c
+@@ -84,7 +84,7 @@ static unsigned long long getOctal(char
+ first >>= 1; /* now 7th bit = 6th bit */
+ v = first; /* sign-extend 8 bits to 64 */
+ while (--len != 0)
+- v = (v << 8) + (unsigned char) *str++;
++ v = (v << 8) + (uint8_t) *++str;
+ }
+ return v;
+ }