aboutsummaryrefslogtreecommitdiff
path: root/system/kqemu/kqemu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/kqemu/kqemu.SlackBuild')
-rw-r--r--system/kqemu/kqemu.SlackBuild4
1 files changed, 2 insertions, 2 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 \