summaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
authorsbd <sbd>2012-06-25 10:07:21 +0000
committersbd <sbd>2012-06-25 10:07:21 +0000
commit969fb2f704bffebb6a853920ab95b4d3d15c37b8 (patch)
tree63c5ef0bcfda886bdbe22ed77b54db0a1bea69ab /emulators/qemu
parent0d2652fab1b04cf7ee8467647f0f99259709a11c (diff)
downloadpkgsrc-969fb2f704bffebb6a853920ab95b4d3d15c37b8.tar.gz
hw/usb/hcd_ehci.c will not compile with -O3 optimization so completely
remove it from CFLAGS.
Diffstat (limited to 'emulators/qemu')
-rw-r--r--emulators/qemu/distinfo3
-rw-r--r--emulators/qemu/patches/patch-configure14
2 files changed, 16 insertions, 1 deletions
diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo
index b4f0de912fb..14d8141414a 100644
--- a/emulators/qemu/distinfo
+++ b/emulators/qemu/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.74 2012/06/18 19:25:38 martin Exp $
+$NetBSD: distinfo,v 1.75 2012/06/25 10:07:21 sbd Exp $
SHA1 (qemu-1.1.0.tar.bz2) = 9f761d17bee8b6e7737fbcabbbaac50bc999a0ee
RMD160 (qemu-1.1.0.tar.bz2) = f2066f9b28298cfe6c7df7d3210fa95b177cc420
Size (qemu-1.1.0.tar.bz2) = 9629317 bytes
+SHA1 (patch-configure) = 961b4efafaf806f071dde3f65c9f43ae770ca3e2
SHA1 (patch-ef) = f26f1b860cca477d5e80c9cb2755c8dc6fa593ac
SHA1 (patch-eg) = f06b9c675717fd54afba0cf2714158b358078a15
SHA1 (patch-eh) = 9425da879c4809abe6959b402cb98de370f9ceb6
diff --git a/emulators/qemu/patches/patch-configure b/emulators/qemu/patches/patch-configure
new file mode 100644
index 00000000000..e8244a56a57
--- /dev/null
+++ b/emulators/qemu/patches/patch-configure
@@ -0,0 +1,14 @@
+$NetBSD: patch-configure,v 1.1 2012/06/25 10:07:21 sbd Exp $
+
+--- configure.orig 2012-06-01 09:13:13.000000000 +0000
++++ configure
+@@ -2854,6 +2854,9 @@ if test "$debug" = "no" ; then
+ CFLAGS="-O2 $CFLAGS"
+ fi
+
++# hw/usb/hcd_ehci.c will not compile with -O3 optimization.
++CFLAGS=`echo "$CFLAGS" | sed -e 's,-O3,,'`
++
+ # Consult white-list to determine whether to enable werror
+ # by default. Only enable by default for git builds
+ z_version=`cut -f3 -d. $source_path/VERSION`