pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/qemu Apply patches from Tobyas Nigren (PR pk...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2218d3ee3a7b
branches: trunk
changeset: 505679:2218d3ee3a7b
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Fri Jan 06 09:17:03 2006 +0000
description:
Apply patches from Tobyas Nigren (PR pkg/32464) to make this
build on NetBSD/amd64. Thank you Tobias!
diffstat:
emulators/qemu/Makefile | 4 ++--
emulators/qemu/distinfo | 4 +++-
emulators/qemu/patches/patch-ax | 24 ++++++++++++++++++++++++
emulators/qemu/patches/patch-ay | 16 ++++++++++++++++
4 files changed, 45 insertions(+), 3 deletions(-)
diffs (81 lines):
diff -r 709c3ccc2191 -r 2218d3ee3a7b emulators/qemu/Makefile
--- a/emulators/qemu/Makefile Fri Jan 06 06:23:55 2006 +0000
+++ b/emulators/qemu/Makefile Fri Jan 06 09:17:03 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/01/01 13:48:45 xtraeme Exp $
+# $NetBSD: Makefile,v 1.25 2006/01/06 09:17:03 xtraeme Exp $
#
DISTNAME= qemu-0.8.0
@@ -32,7 +32,7 @@
# Remove -march/-mcpu from CFLAGS, otherwise it will fail
# to build in the SSE code.
-BUILDLINK_TRANSFORM+= rm-optarg:-march rm-optarg:-mcpu
+#BUILDLINK_TRANSFORM+= rm-optarg:-march rm-optarg:-mcpu
.include "../../mk/compiler.mk"
diff -r 709c3ccc2191 -r 2218d3ee3a7b emulators/qemu/distinfo
--- a/emulators/qemu/distinfo Fri Jan 06 06:23:55 2006 +0000
+++ b/emulators/qemu/distinfo Fri Jan 06 09:17:03 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2006/01/02 12:19:52 blymn Exp $
+$NetBSD: distinfo,v 1.19 2006/01/06 09:17:03 xtraeme Exp $
SHA1 (qemu-0.8.0.tar.gz) = f7bcf2f0eee9e5207cba265f3c47ae781244628e
RMD160 (qemu-0.8.0.tar.gz) = 3fc6da938f75364d0805ca0ecf8cb84a4b546dc7
@@ -20,3 +20,5 @@
SHA1 (patch-au) = aa2712c382a67beef9225e710e7735ba15995a41
SHA1 (patch-av) = bd88088f41b6b3c256eec933e5f267fc432e58fa
SHA1 (patch-aw) = 6299964fb3a747e8f5dfe4354e66722030ee9a75
+SHA1 (patch-ax) = 66b060005ecbf9fd0451f7960e81eccbabf959ca
+SHA1 (patch-ay) = b1a2c96012cc24c3818f1c494eadbbd9968ea085
diff -r 709c3ccc2191 -r 2218d3ee3a7b emulators/qemu/patches/patch-ax
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/qemu/patches/patch-ax Fri Jan 06 09:17:03 2006 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ax,v 1.3 2006/01/06 09:17:03 xtraeme Exp $
+
+--- target-i386/op.c.orig 2006-01-06 05:10:30.000000000 +0100
++++ target-i386/op.c
+@@ -2099,14 +2099,17 @@ void OPPROTO op_fdivr_STN_ST0(void)
+ }
+
+ /* misc FPU operations */
++
++void fchs_dummy() {ST0 = floatx_chs(ST0);}
+ void OPPROTO op_fchs_ST0(void)
+ {
+- ST0 = floatx_chs(ST0);
++ fchs_dummy();
+ }
+
++void fabs_dummy() {ST0 = floatx_abs(ST0);}
+ void OPPROTO op_fabs_ST0(void)
+ {
+- ST0 = floatx_abs(ST0);
++ fabs_dummy();
+ }
+
+ void OPPROTO op_fxam_ST0(void)
diff -r 709c3ccc2191 -r 2218d3ee3a7b emulators/qemu/patches/patch-ay
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/qemu/patches/patch-ay Fri Jan 06 09:17:03 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ay,v 1.3 2006/01/06 09:17:03 xtraeme Exp $
+
+--- target-sparc/op.c.orig 2005-12-19 23:51:53.000000000 +0100
++++ target-sparc/op.c
+@@ -1299,9 +1299,10 @@ void OPPROTO op_flush_T0(void)
+ helper_flush(T0);
+ }
+
++void fnegs_dummy() {FT0 = -FT1;}
+ void OPPROTO op_fnegs(void)
+ {
+- FT0 = -FT1;
++ fnegs_dummy();
+ }
+
+ void OPPROTO op_fabss(void)
Home |
Main Index |
Thread Index |
Old Index