diff options
author | sbd <sbd@pkgsrc.org> | 2012-06-25 10:07:21 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-06-25 10:07:21 +0000 |
commit | 259df12d0e50aa76e4d4924e26d963c8bdc654f0 (patch) | |
tree | 63c5ef0bcfda886bdbe22ed77b54db0a1bea69ab /emulators/qemu | |
parent | a384575132a9710c01ed741e4d6913b1f128d861 (diff) | |
download | pkgsrc-259df12d0e50aa76e4d4924e26d963c8bdc654f0.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/distinfo | 3 | ||||
-rw-r--r-- | emulators/qemu/patches/patch-configure | 14 |
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` |