diff options
author | David Woodfall <dave@unrealize.co.uk> | 2010-07-29 03:07:13 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-31 22:31:50 -0500 |
commit | 081fbb9bee58cb8f1b47dfd429b55f472ce394f4 (patch) | |
tree | 6df4eb0fa5e1c28089f061686961eb2fb87eb38f /system/kqemu | |
parent | 2a8639458a87a6ff2720f12d5c372aee2bc5759f (diff) |
system/kqemu: Patched to fix a missing include
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/kqemu')
-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 9c28b4a4f39a..599308af383c 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 beb3a5a37497..cec78fbeca4a 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 000000000000..a1e8d75f39b8 --- /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" + |