summaryrefslogtreecommitdiff
path: root/packages/mtd/mtd-utils/lzo_1x.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-07-25 08:49:02 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-07-25 08:49:02 +0000
commitf304c61e41c4b36551b9c92eb9f417bf29816427 (patch)
treeb7578d1ac1c9d352b8b0c5933d15b14e3bd57ad0 /packages/mtd/mtd-utils/lzo_1x.patch
parent3e64ab997be17ab3d0e33d6f775c3b844d22596a (diff)
mtd-utils: Updates after lzo patches merged upstream (from poky)
Diffstat (limited to 'packages/mtd/mtd-utils/lzo_1x.patch')
-rw-r--r--packages/mtd/mtd-utils/lzo_1x.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/mtd/mtd-utils/lzo_1x.patch b/packages/mtd/mtd-utils/lzo_1x.patch
new file mode 100644
index 0000000000..b882d9f504
--- /dev/null
+++ b/packages/mtd/mtd-utils/lzo_1x.patch
@@ -0,0 +1,26 @@
+Index: git/Makefile
+===================================================================
+--- git.orig/Makefile
++++ git/Makefile
+@@ -60,7 +60,7 @@ $(BUILDDIR)/mkfs.jffs2: $(BUILDDIR)/crc3
+ $(BUILDDIR)/compr_zlib.o \
+ $(BUILDDIR)/compr_lzo.o \
+ $(BUILDDIR)/compr.o
+- $(CC) $(LDFLAGS) -o $@ $^ -lz -llzo2
++ $(CC) $(LDFLAGS) -o $@ $^ -lz -llzo
+
+ $(BUILDDIR)/flash_eraseall: $(BUILDDIR)/crc32.o $(BUILDDIR)/flash_eraseall.o
+ $(CC) $(LDFLAGS) -o $@ $^
+Index: git/compr_lzo.c
+===================================================================
+--- git.orig/compr_lzo.c
++++ git/compr_lzo.c
+@@ -26,7 +26,7 @@
+ #include <string.h>
+ #include <asm/types.h>
+ #include <linux/jffs2.h>
+-#include <lzo/lzo1x.h>
++#include <lzo1x.h>
+ #include "compr.h"
+
+ extern int page_size;