diff options
author | soren <soren@pkgsrc.org> | 2004-11-15 15:38:15 +0000 |
---|---|---|
committer | soren <soren@pkgsrc.org> | 2004-11-15 15:38:15 +0000 |
commit | b241058c6c9bb45d56657009d4f2111da291e0d7 (patch) | |
tree | 42bdbf17b0958d07bdcb2a3909abc56cfbb96026 /emulators | |
parent | 28f764c91de6a66d1bad0c9233ebe0d9a16534e2 (diff) | |
download | pkgsrc-b241058c6c9bb45d56657009d4f2111da291e0d7.tar.gz |
Workaround for the bug that causes disk image corruption with XP.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu/Makefile | 3 | ||||
-rw-r--r-- | emulators/qemu/distinfo | 3 | ||||
-rw-r--r-- | emulators/qemu/patches/patch-as | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 293bb47054a..ce8a2449557 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -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 --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo index 023c625d6b1..193507e09f0 100644 --- a/emulators/qemu/distinfo +++ b/emulators/qemu/distinfo @@ -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-ao) = 1899c03e37b2409df13c6f69bb21c3debf0aa4e8 SHA1 (patch-ap) = cffb474805403056706d06d4a2f01e1984cb1edf SHA1 (patch-aq) = a0fe72cfbc54086feeb5a554220df6fdc2aa063e SHA1 (patch-ar) = 2ea46ba9c333fd2e90b98dc7666bafa8c3082d42 +SHA1 (patch-as) = 0df64b325b758a88fe61590e129bab2b3f99ce63 diff --git a/emulators/qemu/patches/patch-as b/emulators/qemu/patches/patch-as new file mode 100644 index 00000000000..ddb9dd2ae3a --- /dev/null +++ b/emulators/qemu/patches/patch-as @@ -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; |