summaryrefslogtreecommitdiff
path: root/target/tools/lzma/patches/001-large_files.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-01-09 19:07:06 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-01-09 19:07:06 +0100
commit3759be713eb1f3812412b7c9eff3767944786a7d (patch)
tree932fcc22559b0d874fa293b4d9c3b5f3ee0af995 /target/tools/lzma/patches/001-large_files.patch
parentc83c6ef149028b71e580a536289704d0ba811802 (diff)
update to 3.1.8, add lzma-loader for brcm47xx, kernel stuff + patches does not work on Asus WL500gp
Diffstat (limited to 'target/tools/lzma/patches/001-large_files.patch')
-rw-r--r--target/tools/lzma/patches/001-large_files.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/tools/lzma/patches/001-large_files.patch b/target/tools/lzma/patches/001-large_files.patch
new file mode 100644
index 000000000..b95fe9e90
--- /dev/null
+++ b/target/tools/lzma/patches/001-large_files.patch
@@ -0,0 +1,13 @@
+Index: lzma-4.65/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
+===================================================================
+--- lzma-4.65.orig/CPP/7zip/Compress/LZMA_Alone/makefile.gcc 2009-05-15 23:33:51.000000000 +0200
++++ lzma-4.65/CPP/7zip/Compress/LZMA_Alone/makefile.gcc 2009-06-01 22:00:54.000000000 +0200
+@@ -3,7 +3,7 @@
+ CXX_C = gcc -O2 -Wall
+ LIB = -lm
+ RM = rm -f
+-CFLAGS = -c
++CFLAGS = -c -D_FILE_OFFSET_BITS=64
+
+ ifdef SystemDrive
+ IS_MINGW = 1