fix apex compile on osx, suppress some build warnings
[openwrt.git] / target / linux / generic-2.4 / patches / 010-disable_old_squashfs_compatibility.patch
1 Index: linux-2.4.35.4/fs/squashfs/Makefile
2 ===================================================================
3 --- linux-2.4.35.4.orig/fs/squashfs/Makefile 2007-12-15 05:19:49.031215169 +0100
4 +++ linux-2.4.35.4/fs/squashfs/Makefile 2007-12-15 05:19:50.759313646 +0100
5 @@ -4,7 +4,7 @@
6
7 O_TARGET := squashfs.o
8
9 -obj-y := inode.o squashfs2_0.o LzmaDecode.o
10 +obj-y := inode.o LzmaDecode.o
11
12 obj-m := $(O_TARGET)
13
14 Index: linux-2.4.35.4/fs/squashfs/squashfs.h
15 ===================================================================
16 --- linux-2.4.35.4.orig/fs/squashfs/squashfs.h 2007-12-15 05:19:48.659193968 +0100
17 +++ linux-2.4.35.4/fs/squashfs/squashfs.h 2007-12-15 05:19:50.767314102 +0100
18 @@ -24,6 +24,9 @@
19 #ifdef CONFIG_SQUASHFS_1_0_COMPATIBILITY
20 #undef CONFIG_SQUASHFS_1_0_COMPATIBILITY
21 #endif
22 +#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
23 +#undef CONFIG_SQUASHFS_2_0_COMPATIBILITY
24 +#endif
25 #ifdef SQUASHFS_TRACE
26 #define TRACE(s, args...) printk(KERN_NOTICE "SQUASHFS: "s, ## args)
27 #else
This page took 0.04017 seconds and 5 git commands to generate.