pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/qemu Workaround for the bug that causes disk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/896171661477
branches:  trunk
changeset: 483595:896171661477
user:      soren <soren%pkgsrc.org@localhost>
date:      Mon Nov 15 15:38:15 2004 +0000

description:
Workaround for the bug that causes disk image corruption with XP.

diffstat:

 emulators/qemu/Makefile         |   3 ++-
 emulators/qemu/distinfo         |   3 ++-
 emulators/qemu/patches/patch-as |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r dbc9fda9767e -r 896171661477 emulators/qemu/Makefile
--- a/emulators/qemu/Makefile   Mon Nov 15 15:34:16 2004 +0000
+++ b/emulators/qemu/Makefile   Mon Nov 15 15:38:15 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/11/15 11:35:30 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2004/11/15 15:38:15 soren Exp $
 #
 
 DISTNAME=              qemu-0.6.1
+PKGREVISION=           1
 CATEGORIES=            emulators
 MASTER_SITES=          http://fabrice.bellard.free.fr/qemu/
 
diff -r dbc9fda9767e -r 896171661477 emulators/qemu/distinfo
--- a/emulators/qemu/distinfo   Mon Nov 15 15:34:16 2004 +0000
+++ b/emulators/qemu/distinfo   Mon Nov 15 15:38:15 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2004/11/15 11:35:30 xtraeme Exp $
+$NetBSD: distinfo,v 1.3 2004/11/15 15:38:15 soren Exp $
 
 SHA1 (qemu-0.6.1.tar.gz) = 6f547082857068a3fbbac5a3d1910776d3c4b2bb
 Size (qemu-0.6.1.tar.gz) = 1010121 bytes
@@ -17,3 +17,4 @@
 SHA1 (patch-ap) = cffb474805403056706d06d4a2f01e1984cb1edf
 SHA1 (patch-aq) = a0fe72cfbc54086feeb5a554220df6fdc2aa063e
 SHA1 (patch-ar) = 2ea46ba9c333fd2e90b98dc7666bafa8c3082d42
+SHA1 (patch-as) = 0df64b325b758a88fe61590e129bab2b3f99ce63
diff -r dbc9fda9767e -r 896171661477 emulators/qemu/patches/patch-as
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/qemu/patches/patch-as   Mon Nov 15 15:38:15 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-as,v 1.1 2004/11/15 15:38:15 soren Exp $
+
+--- hw/ide.c   9 Nov 2004 22:04:05 -0000       1.29
++++ hw/ide.c   15 Nov 2004 15:34:50 -0000
+@@ -1895,7 +1895,9 @@
+                     s->heads = 16;
+                     s->sectors = 63;
+                 }
++#if 0
+                 bdrv_set_geometry_hint(s->bs, s->cylinders, s->heads, s->sectors);
++#endif
+             }
+             if (bdrv_get_type_hint(s->bs) == BDRV_TYPE_CDROM) {
+                 s->is_cdrom = 1;



Home | Main Index | Thread Index | Old Index