diff options
author | hubertf <hubertf> | 2005-03-02 23:22:41 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2005-03-02 23:22:41 +0000 |
commit | 2f173ab8b157eb5dda743a54c79f5af786e24d81 (patch) | |
tree | 6896666d503314aa5e591da23c355ccaad12e4fe /emulators/qemu | |
parent | ef06ef6745cc854d7dac77c3d732504f52493777 (diff) | |
download | pkgsrc-2f173ab8b157eb5dda743a54c79f5af786e24d81.tar.gz |
Patch to 0.6.1nb3. Java in Solaris (needed e.g. for the installer)
doesn't crash any more. Patch found at
http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00271.html
Diffstat (limited to 'emulators/qemu')
-rw-r--r-- | emulators/qemu/Makefile | 4 | ||||
-rw-r--r-- | emulators/qemu/distinfo | 3 | ||||
-rw-r--r-- | emulators/qemu/patches/patch-ab | 17 |
3 files changed, 21 insertions, 3 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 387cedec8af..adc41e38c8a 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2005/02/19 23:12:59 heinz Exp $ +# $NetBSD: Makefile,v 1.7 2005/03/02 23:22:41 hubertf Exp $ # DISTNAME= qemu-0.6.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= emulators MASTER_SITES= http://fabrice.bellard.free.fr/qemu/ diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo index 51ee271d032..b08a8fa8ec6 100644 --- a/emulators/qemu/distinfo +++ b/emulators/qemu/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.5 2005/02/23 18:49:19 agc Exp $ +$NetBSD: distinfo,v 1.6 2005/03/02 23:22:41 hubertf Exp $ SHA1 (qemu-0.6.1.tar.gz) = 6f547082857068a3fbbac5a3d1910776d3c4b2bb RMD160 (qemu-0.6.1.tar.gz) = 306936ca4726a8df7d4c25827f6b5cc8ce82f85e Size (qemu-0.6.1.tar.gz) = 1010121 bytes SHA1 (patch-aa) = 455575215bad8864da285e1979da9ff7d8476a24 +SHA1 (patch-ab) = 831404a3a4a0f2071bd4e40bf8be712c04fd31a1 SHA1 (patch-ac) = 2f16687e2051934a79e32e3822ee31885aa8a244 SHA1 (patch-af) = 798f4c6194b81f20c4d284f8efd2fc0b7bf68aed SHA1 (patch-ag) = 4bb7ae18fd0f0c5ecfa2ab2594d1de5b33660495 diff --git a/emulators/qemu/patches/patch-ab b/emulators/qemu/patches/patch-ab new file mode 100644 index 00000000000..f09e385ff7a --- /dev/null +++ b/emulators/qemu/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.3 2005/03/02 23:22:41 hubertf Exp $ + +Source: http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00271.html + +--- target-i386/exec.h.orig 2004-11-14 21:51:33.000000000 +0100 ++++ target-i386/exec.h +@@ -315,8 +315,8 @@ static inline void stfl(void *ptr, float + extern int lrint(CPU86_LDouble x); + extern int64_t llrint(CPU86_LDouble x); + #else +-#define lrint(d) ((int)rint(d)) +-#define llrint(d) ((int)rint(d)) ++#define lrint(d) ((long)rint(d)) ++#define llrint(d) ((long long)rint(d)) + #endif + extern CPU86_LDouble fabs(CPU86_LDouble x); + extern CPU86_LDouble sin(CPU86_LDouble x); |