diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-12-05 15:44:58 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-12-05 15:44:58 +0000 |
commit | e27c8bb15651f8b5dfd5732306e26e6fa8cb0c0a (patch) | |
tree | 411d7f31a4efb625893da1dc375b1c84d43ce6fa /tools/mtd-utils/patches/130-lzma_jffs2.patch | |
parent | 3fd67b7f41785cbe84f8dfae2cdfa0d8ec8652fd (diff) | |
download | mtk-20170518-e27c8bb15651f8b5dfd5732306e26e6fa8cb0c0a.zip mtk-20170518-e27c8bb15651f8b5dfd5732306e26e6fa8cb0c0a.tar.gz mtk-20170518-e27c8bb15651f8b5dfd5732306e26e6fa8cb0c0a.tar.bz2 |
update mtd-utils to 1.5.2
- update mtd-utils to 1.5.2 (git a494d30ab1ae40cb7665680cadf5af3ca3830a73)
- remove patches that went upstream
- fixes build from scratch as of broken patches
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
[use the final version of 1.5.2 instead, fix header of jffs2_lzma_(de,)compress()]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47790
Diffstat (limited to 'tools/mtd-utils/patches/130-lzma_jffs2.patch')
-rw-r--r-- | tools/mtd-utils/patches/130-lzma_jffs2.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/mtd-utils/patches/130-lzma_jffs2.patch b/tools/mtd-utils/patches/130-lzma_jffs2.patch index 17f9978..b04f019 100644 --- a/tools/mtd-utils/patches/130-lzma_jffs2.patch +++ b/tools/mtd-utils/patches/130-lzma_jffs2.patch @@ -1,7 +1,7 @@ --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ - VERSION = 1.5.1 + VERSION = 1.5.2 CPPFLAGS += -D_GNU_SOURCE -I./include -I$(BUILDDIR)/include -I./ubi-utils/include $(ZLIBCPPFLAGS) $(LZOCPPFLAGS) $(UUIDCPPFLAGS) +CPPFLAGS += -I./include/linux/lzma @@ -123,7 +123,7 @@ +} + +STATIC int jffs2_lzma_compress(unsigned char *data_in, unsigned char *cpage_out, -+ uint32_t *sourcelen, uint32_t *dstlen, void *model) ++ uint32_t *sourcelen, uint32_t *dstlen) +{ + SizeT compress_size = (SizeT)(*dstlen); + int ret; @@ -148,7 +148,7 @@ +} + +STATIC int jffs2_lzma_decompress(unsigned char *data_in, unsigned char *cpage_out, -+ uint32_t srclen, uint32_t destlen, void *model) ++ uint32_t srclen, uint32_t destlen) +{ + int ret; + SizeT dl = (SizeT)destlen; |