lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.23 / 002-lzma_decompress.patch
index f31f18c..d6c7e31 100644 (file)
@@ -1,7 +1,5 @@
-Index: linux-2.6.23-rc6/include/linux/LzmaDecode.h
-===================================================================
---- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.23-rc6/include/linux/LzmaDecode.h        2007-09-21 16:23:55.000000000 +0800
+--- /dev/null
++++ b/include/linux/LzmaDecode.h
 @@ -0,0 +1,100 @@
 +/*
 +  LzmaDecode.h
@@ -103,10 +101,8 @@ Index: linux-2.6.23-rc6/include/linux/LzmaDecode.h
 +    UInt32 *outSizeProcessed);
 +
 +#endif
-Index: linux-2.6.23-rc6/lib/LzmaDecode.c
-===================================================================
---- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.23-rc6/lib/LzmaDecode.c  2007-09-21 16:23:55.000000000 +0800
+--- /dev/null
++++ b/lib/LzmaDecode.c
 @@ -0,0 +1,663 @@
 +/*
 +  LzmaDecode.c
@@ -771,16 +767,14 @@ Index: linux-2.6.23-rc6/lib/LzmaDecode.c
 +  *outSizeProcessed = nowPos;
 +  return LZMA_RESULT_OK;
 +}
-Index: linux-2.6.23-rc6/lib/Makefile
-===================================================================
---- linux-2.6.23-rc6.orig/lib/Makefile 2007-09-21 16:23:55.000000000 +0800
-+++ linux-2.6.23-rc6/lib/Makefile      2007-09-21 16:23:55.000000000 +0800
+--- a/lib/Makefile
++++ b/lib/Makefile
 @@ -13,7 +13,7 @@
  lib-y += kobject.o kref.o kobject_uevent.o klist.o
  
  obj-y += div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \
--       bust_spinlocks.o hexdump.o
-+       bust_spinlocks.o hexdump.o LzmaDecode.o
+-       bust_spinlocks.o hexdump.o kasprintf.o
++       bust_spinlocks.o hexdump.o kasprintf.o LzmaDecode.o
  
  ifeq ($(CONFIG_DEBUG_KOBJECT),y)
  CFLAGS_kobject.o += -DDEBUG
This page took 0.02075 seconds and 4 git commands to generate.