aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lzma/patches/001-large_files.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-06-01 20:31:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-06-01 20:31:49 +0000
commit15316b2ab26e9fbec20812e49bb55d25f98d4d75 (patch)
tree0e7e12cca48109c1e4849541486a2c8aeb9cf1d5 /tools/lzma/patches/001-large_files.patch
parent9831eb0223a97fa0a4eb2de2add24441232f2436 (diff)
downloadmaster-187ad058-15316b2ab26e9fbec20812e49bb55d25f98d4d75.tar.gz
master-187ad058-15316b2ab26e9fbec20812e49bb55d25f98d4d75.tar.bz2
master-187ad058-15316b2ab26e9fbec20812e49bb55d25f98d4d75.zip
[tools] port lzmp that is packaged by debian, build it, but do not install it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16282 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/lzma/patches/001-large_files.patch')
-rw-r--r--tools/lzma/patches/001-large_files.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/lzma/patches/001-large_files.patch b/tools/lzma/patches/001-large_files.patch
new file mode 100644
index 0000000000..b95fe9e90f
--- /dev/null
+++ b/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