diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-25 23:05:51 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-07-25 23:05:51 +0000 |
commit | 397938cc0f71b7b2919517a186778505310b5cac (patch) | |
tree | a93ef39dd5eed95736f684498d352c1a620391f7 /package/compcache/patches/002-compact_lzo-codec.patch | |
parent | f8f734eecef6c9827319ebceca5a1fcbfb800a55 (diff) | |
download | upstream-397938cc0f71b7b2919517a186778505310b5cac.tar.gz upstream-397938cc0f71b7b2919517a186778505310b5cac.tar.bz2 upstream-397938cc0f71b7b2919517a186778505310b5cac.zip |
add compcache (#4481)
SVN-Revision: 16988
Diffstat (limited to 'package/compcache/patches/002-compact_lzo-codec.patch')
-rw-r--r-- | package/compcache/patches/002-compact_lzo-codec.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/compcache/patches/002-compact_lzo-codec.patch b/package/compcache/patches/002-compact_lzo-codec.patch new file mode 100644 index 0000000000..4b560f317f --- /dev/null +++ b/package/compcache/patches/002-compact_lzo-codec.patch @@ -0,0 +1,30 @@ +--- compcache-0.5/Makefile.bak 2008-12-10 07:25:44.000000000 +0100 ++++ compcache-0.5/Makefile 2009-01-21 08:25:38.000000000 +0100 +@@ -4,15 +4,13 @@ + -DCONFIG_XV_STATS \ + -g -Wall + +-obj-m += sub-projects/compression/lzo-kmod/lzo1x_decompress.o \ +- sub-projects/compression/lzo-kmod/lzo1x_compress.o \ ++obj-m += sub-projects/compression/lzo-kmod/lzo1x.o \ + sub-projects/allocators/xvmalloc-kmod/xvmalloc.o \ + compcache.o + + all: + make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules +- @ln -sf sub-projects/compression/lzo-kmod/lzo1x_decompress.ko +- @ln -sf sub-projects/compression/lzo-kmod/lzo1x_compress.ko ++ @ln -sf sub-projects/compression/lzo-kmod/lzo1x.ko + @ln -sf sub-projects/allocators/xvmalloc-kmod/xvmalloc.ko + + clean: +--- compcache-0.5/sub-projects/compression/lzo-kmod/lzo1x.c~ 1970-01-01 01:00:00.000000000 +0100 ++++ compcache-0.5/sub-projects/compression/lzo-kmod/lzo1x.c 2008-05-06 09:38:12.000000000 +0200 +@@ -0,0 +1,7 @@ ++#include <linux/module.h> ++ ++#include "lzo1x_compress.c" ++#include "lzo1x_decompress.c" ++ ++MODULE_LICENSE("GPL"); ++MODULE_DESCRIPTION("LZO1X Lib"); |