summaryrefslogtreecommitdiffstats
path: root/system/qemu/qemu.SlackBuild
diff options
context:
space:
mode:
author Robby Workman2012-02-18 05:13:02 +0100
committer Robby Workman2012-02-20 19:57:26 +0100
commit0ea9a9463b1fbdd1fedd4ee64fa297fa489c5ed1 (patch)
tree4ed77bb2497f33ac4959eea5dec3dbe15b53947b /system/qemu/qemu.SlackBuild
parent90c6d7b0daf5b03cbaffec87d965926f3a829b91 (diff)
downloadslackbuilds-0ea9a9463b1fbdd1fedd4ee64fa297fa489c5ed1.tar.gz
system/qemu: Updated for version 1.0.1.
This bumps qemu to the latest 1.x release (with permission of current SBo maintainer) and makes a few cosmetic fixes... Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/qemu/qemu.SlackBuild')
-rw-r--r--system/qemu/qemu.SlackBuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index 9f8df7e2b5..7fb4149797 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=qemu
-VERSION=0.14.1
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,6 +67,15 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# To get the stable-1.0 patches, do this in git checkout of qemu:
+# git format-patch v1.0.1..origin/stable-1.0
+#for i in $CWD/patches/*.patch ; do patch -p1 < $i ; done
+
+# Disable debug (hardcoded) and remove double CFLAGS
+sed -i "s|^CFLAGS=\"-g\ |CFLAGS=\"|" configure
+sed -i "s|^LDFLAGS=\"-g\ |LDFLAGS=\"|" configure
+sed -i "s|^\ \ CFLAGS=\"-O2\ | CFLAGS=\"|" configure
+
# --libdir isn't recognized and isn't needed anyway
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \