diff options
author | minskim <minskim@pkgsrc.org> | 2008-10-24 19:55:10 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2008-10-24 19:55:10 +0000 |
commit | ff6667f910afdf91b895c22200244c581fbc5799 (patch) | |
tree | ad8924f374ad7532b545e7b43681958dd2b66ab0 /emulators/gxemul | |
parent | 80e4da55600e40bae16eec63b67cbebfe262d359 (diff) | |
download | pkgsrc-ff6667f910afdf91b895c22200244c581fbc5799.tar.gz |
Apply a patch from FreeBSD Ports:
Due to small issue with gxemul (PCI registers values of piix
controller are not saved having been written) FreeBSD in
gxemul panics after detecting IDE devices. Apply this patch to
fix it...
Bump PKGREVISION.
Diffstat (limited to 'emulators/gxemul')
-rw-r--r-- | emulators/gxemul/Makefile | 4 | ||||
-rw-r--r-- | emulators/gxemul/distinfo | 3 | ||||
-rw-r--r-- | emulators/gxemul/patches/patch-ab | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile index f683c18238f..6bfc57b9146 100644 --- a/emulators/gxemul/Makefile +++ b/emulators/gxemul/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.38 2008/09/14 06:15:35 tsutsui Exp $ +# $NetBSD: Makefile,v 1.39 2008/10/24 19:55:10 minskim Exp $ # DISTNAME= gxemul-0.4.6.5 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://gavare.se/gxemul/src/ diff --git a/emulators/gxemul/distinfo b/emulators/gxemul/distinfo index 71b8244dd2e..fc954597248 100644 --- a/emulators/gxemul/distinfo +++ b/emulators/gxemul/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.26 2008/10/24 19:31:01 minskim Exp $ +$NetBSD: distinfo,v 1.27 2008/10/24 19:55:10 minskim Exp $ SHA1 (gxemul-0.4.6.5.tar.gz) = 9eaee8a7f0ce811199e206b736e87208b0b6fe29 RMD160 (gxemul-0.4.6.5.tar.gz) = edc2a51d13e5c0e85a6cd5ac54d63aa605b22275 Size (gxemul-0.4.6.5.tar.gz) = 2187357 bytes SHA1 (patch-aa) = d8dbe0cb32d02d392957d1434446e4c1bf1f58ea +SHA1 (patch-ab) = beeb04eb1b987b8ed095b5551804b640fbce36dc diff --git a/emulators/gxemul/patches/patch-ab b/emulators/gxemul/patches/patch-ab new file mode 100644 index 00000000000..0cb6cf6d22d --- /dev/null +++ b/emulators/gxemul/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2008/10/24 19:55:10 minskim Exp $ + +--- src/devices/bus_pci.c.orig 2008-01-18 11:12:27.000000000 -0800 ++++ src/devices/bus_pci.c +@@ -776,6 +776,8 @@ int piix_ide_cfg_reg_write(struct pci_de + void *wdc1 = ((struct piix_ide_extra *)pd->extra)->wdc1; + int enabled = 0; + ++ PCI_SET_DATA(reg, value); ++ + switch (reg) { + case PCI_COMMAND_STATUS_REG: + if (value & PCI_COMMAND_IO_ENABLE) |