madwifi: fix compile error on kernels without net_device api compatibility
[openwrt.git] / package / compcache / patches / 002-compact_lzo-codec.patch
1 --- compcache-0.5/Makefile.bak 2008-12-10 07:25:44.000000000 +0100
2 +++ compcache-0.5/Makefile 2009-01-21 08:25:38.000000000 +0100
3 @@ -4,15 +4,13 @@
4 -DCONFIG_XV_STATS \
5 -g -Wall
6
7 -obj-m += sub-projects/compression/lzo-kmod/lzo1x_decompress.o \
8 - sub-projects/compression/lzo-kmod/lzo1x_compress.o \
9 +obj-m += sub-projects/compression/lzo-kmod/lzo1x.o \
10 sub-projects/allocators/xvmalloc-kmod/xvmalloc.o \
11 compcache.o
12
13 all:
14 make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
15 - @ln -sf sub-projects/compression/lzo-kmod/lzo1x_decompress.ko
16 - @ln -sf sub-projects/compression/lzo-kmod/lzo1x_compress.ko
17 + @ln -sf sub-projects/compression/lzo-kmod/lzo1x.ko
18 @ln -sf sub-projects/allocators/xvmalloc-kmod/xvmalloc.ko
19
20 clean:
21 --- compcache-0.5/sub-projects/compression/lzo-kmod/lzo1x.c~ 1970-01-01 01:00:00.000000000 +0100
22 +++ compcache-0.5/sub-projects/compression/lzo-kmod/lzo1x.c 2008-05-06 09:38:12.000000000 +0200
23 @@ -0,0 +1,7 @@
24 +#include <linux/module.h>
25 +
26 +#include "lzo1x_compress.c"
27 +#include "lzo1x_decompress.c"
28 +
29 +MODULE_LICENSE("GPL");
30 +MODULE_DESCRIPTION("LZO1X Lib");
This page took 0.043609 seconds and 5 git commands to generate.