port lzmp that is packaged by debian, build it, but do not install it yet
[openwrt/openwrt.git] / tools / lzma / patches / 001-large_files.patch
1 Index: lzma-4.65/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
2 ===================================================================
3 --- lzma-4.65.orig/CPP/7zip/Compress/LZMA_Alone/makefile.gcc 2009-05-15 23:33:51.000000000 +0200
4 +++ lzma-4.65/CPP/7zip/Compress/LZMA_Alone/makefile.gcc 2009-06-01 22:00:54.000000000 +0200
5 @@ -3,7 +3,7 @@
6 CXX_C = gcc -O2 -Wall
7 LIB = -lm
8 RM = rm -f
9 -CFLAGS = -c
10 +CFLAGS = -c -D_FILE_OFFSET_BITS=64
11
12 ifdef SystemDrive
13 IS_MINGW = 1