# HG changeset patch # User Eric Joseph-Alexandre # Date 1279832599 -7200 # Node ID 2491e5bd11d6f2102df16009a9c22d6585990da0 # Parent 3584961ee6c68e69f5b356e387dfa67cf5b529fc compcache: fix build with kernel 2.6.34 diff -r 3584961ee6c6 -r 2491e5bd11d6 compcache/receipt --- a/compcache/receipt Thu Jul 22 10:00:04 2010 +0200 +++ b/compcache/receipt Thu Jul 22 23:03:19 2010 +0200 @@ -20,6 +20,10 @@ tazwok cook linux fi cd $src + + # Fix build with kernel 2.6.34 + patch -p1 < ../stuff/compcache-0.6.2-linux-2.6.34.u || exit 1 + find -name Makefile | xargs sed -i \ "s|/lib/modules/\$(shell uname -r)/build|$WOK/linux/linux-$KERNEL_VERSION|" make KBUILD=$WOK/linux/linux-$KERNEL_VERSION KVER=$KERNEL_VERSION diff -r 3584961ee6c6 -r 2491e5bd11d6 compcache/stuff/compcache-0.6.2-linux-2.6.34.u --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compcache/stuff/compcache-0.6.2-linux-2.6.34.u Thu Jul 22 23:03:19 2010 +0200 @@ -0,0 +1,10 @@ +--- compcache-0.6.2-ori/ramzswap_drv.c ++++ compcache-0.6.2/ramzswap_drv.c +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + + #include "compat.h" + #include "ramzswap_drv.h"