diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/kqemu/kqemu.SlackBuild | 4 | ||||
-rw-r--r-- | system/kqemu/kqemu.info | 2 | ||||
-rw-r--r-- | system/kqemu/linux-sched.diff | 11 |
3 files changed, 14 insertions, 3 deletions
diff --git a/system/kqemu/kqemu.SlackBuild b/system/kqemu/kqemu.SlackBuild index 9c28b4a4f39a7..599308af383c3 100644 --- a/system/kqemu/kqemu.SlackBuild +++ b/system/kqemu/kqemu.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-1.4.0pre1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -71,6 +69,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/linux-sched.diff + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/system/kqemu/kqemu.info b/system/kqemu/kqemu.info index beb3a5a374972..cec78fbeca4ae 100644 --- a/system/kqemu/kqemu.info +++ b/system/kqemu/kqemu.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="David Woodfall" EMAIL="dave@unrealize.co.uk" -APPROVED="dsomero" +APPROVED="rworkman" diff --git a/system/kqemu/linux-sched.diff b/system/kqemu/linux-sched.diff new file mode 100644 index 0000000000000..a1e8d75f39b84 --- /dev/null +++ b/system/kqemu/linux-sched.diff @@ -0,0 +1,11 @@ +diff -Naur kqemu-1.4.0pre1-orig/kqemu-linux.c kqemu-1.4.0pre1/kqemu-linux.c +--- kqemu-1.4.0pre1-orig/kqemu-linux.c 2008-05-30 21:33:34.000000000 +0100 ++++ kqemu-1.4.0pre1/kqemu-linux.c 2010-07-27 19:16:58.000000000 +0100 +@@ -30,6 +30,7 @@ + #include <asm/processor.h> + #include <asm/uaccess.h> + #include <asm/io.h> ++#include <linux/sched.h> + + #include "kqemu-kernel.h" + |