projects
/
openwrt
/
staging
/
dedeckeh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ee61d70
)
tools/lzma-old fix compile issues (patch from #10253)
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Oct 2011 12:52:49 +0000
(12:52 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Oct 2011 12:52:49 +0000
(12:52 +0000)
SVN-Revision: 28502
tools/lzma-old/patches/100-lzma_zlib.patch
patch
|
blob
|
history
diff --git
a/tools/lzma-old/patches/100-lzma_zlib.patch
b/tools/lzma-old/patches/100-lzma_zlib.patch
index 7436cfe51552c19d8e64b339acd54ff2057fa4cd..32d1263963883233e9089835a5f36139e234e65d 100644
(file)
--- a/
tools/lzma-old/patches/100-lzma_zlib.patch
+++ b/
tools/lzma-old/patches/100-lzma_zlib.patch
@@
-311,9
+311,9
@@
+ UInt64 m_offset;
+};
+
+ UInt64 m_offset;
+};
+
-+ZEXTERN int ZEXPORT compress2
OF(
(Bytef *dest, uLongf *destLen,
++ZEXTERN int ZEXPORT compress2 (Bytef *dest, uLongf *destLen,
+ const Bytef *source, uLong sourceLen,
+ const Bytef *source, uLong sourceLen,
-+ int level)
)
++ int level)
+{
+ CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen);
+ CMyComPtr<ISequentialInStream> inStream = inStreamSpec;
+{
+ CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen);
+ CMyComPtr<ISequentialInStream> inStream = inStreamSpec;
@@
-374,8
+374,8
@@
+ return Z_OK;
+}
+
+ return Z_OK;
+}
+
-+ZEXTERN int ZEXPORT uncompress
OF(
(Bytef *dest, uLongf *destLen,
-+ const Bytef *source, uLong sourceLen)
)
++ZEXTERN int ZEXPORT uncompress (Bytef *dest, uLongf *destLen,
++ const Bytef *source, uLong sourceLen)
+{
+ CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen);
+ CMyComPtr<ISequentialInStream> inStream = inStreamSpec;
+{
+ CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen);
+ CMyComPtr<ISequentialInStream> inStream = inStreamSpec;