Patch13: linux-2.6-570-tagxid.patch
Patch14: linux-2.6-580-show-proc-virt.patch
Patch15: linux-2.6-590-dcookies-mm.patch
-#Patch16: linux-2.6-591-chopstix-intern.patch
+Patch16: linux-2.6-591-chopstix-intern.patch
Patch17: linux-2.6-640-netlink-audit-hack.patch
Patch18: linux-2.6-650-hangcheck-reboot.patch
Patch19: linux-2.6-660-nmi-watchdog-default.patch
ApplyPatch linux-2.6-570-tagxid.patch
ApplyPatch linux-2.6-580-show-proc-virt.patch
ApplyPatch linux-2.6-590-dcookies-mm.patch
-# fails with -Wall build
-#ApplyPatch linux-2.6-591-chopstix-intern.patch
+ApplyPatch linux-2.6-591-chopstix-intern.patch
ApplyPatch linux-2.6-640-netlink-audit-hack.patch
ApplyPatch linux-2.6-650-hangcheck-reboot.patch
ApplyPatch linux-2.6-660-nmi-watchdog-default.patch
###
%build
+#### Planet-Lab ####
+# -Werror breaks F14 builds
+sed -i -e "s:-Wno-array-bounds -Werror:-Wno-array-bounds:g" Makefile
+#### Planet-Lab ####
+
%if %{with_sparse}
%define sparse_mflags C=1
%endif