summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/qemu/qemu.SlackBuild11
-rw-r--r--system/qemu/qemu.info6
2 files changed, 13 insertions, 4 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" \
diff --git a/system/qemu/qemu.info b/system/qemu/qemu.info
index ac32733b64..598a29886b 100644
--- a/system/qemu/qemu.info
+++ b/system/qemu/qemu.info
@@ -1,8 +1,8 @@
PRGNAM="qemu"
-VERSION="0.14.1"
+VERSION="1.0.1"
HOMEPAGE="http://wiki.qemu.org/Main_Page"
-DOWNLOAD="http://download.savannah.gnu.org/releases/qemu/qemu-0.14.1.tar.gz"
-MD5SUM="b6c713a8db638e173af53a62d5178640"
+DOWNLOAD="http://wiki.qemu.org/download/qemu-1.0.1.tar.gz"
+MD5SUM="5efd1091f01e3bc31bfdec27b8edeb00"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Andrew Brouwers"