permit -nographic to work instead of crash on parallel devices
investigation/suggested fix by Thomas Dettbarn, dettus at dettus dot net bump PKGNAME
This commit is contained in:
parent
eae1e7329e
commit
19525d803e
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2005/11/03 18:41:55 fgsch Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2005/11/05 12:11:05 todd Exp $
|
||||
|
||||
# no success building on other archs yet
|
||||
ONLY_FOR_ARCHS= amd64 i386 macppc
|
||||
|
||||
COMMENT= "multi system emulator"
|
||||
DISTNAME= qemu-0.7.2
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= emulators
|
||||
|
||||
HOMEPAGE= http://fabrice.bellard.free.fr/qemu/
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-vl_c,v 1.3 2005/10/25 03:25:44 todd Exp $
|
||||
$OpenBSD: patch-vl_c,v 1.4 2005/11/05 12:11:05 todd Exp $
|
||||
--- vl.c.orig Sun Sep 4 12:11:31 2005
|
||||
+++ vl.c Mon Oct 24 21:55:47 2005
|
||||
+++ vl.c Sat Nov 5 05:41:13 2005
|
||||
@@ -42,7 +42,7 @@
|
||||
#include <dirent.h>
|
||||
#ifdef _BSD
|
||||
@ -78,6 +78,15 @@ $OpenBSD: patch-vl_c,v 1.3 2005/10/25 03:25:44 todd Exp $
|
||||
{ "cirrusvga", 0, QEMU_OPTION_cirrusvga },
|
||||
{ NULL },
|
||||
};
|
||||
@@ -3185,7 +3213,7 @@ int main(int argc, char **argv)
|
||||
serial_devices[i][0] = '\0';
|
||||
serial_device_index = 0;
|
||||
|
||||
- pstrcpy(parallel_devices[0], sizeof(parallel_devices[0]), "vc");
|
||||
+ pstrcpy(parallel_devices[0], sizeof(parallel_devices[0]), "null");
|
||||
for(i = 1; i < MAX_PARALLEL_PORTS; i++)
|
||||
parallel_devices[i][0] = '\0';
|
||||
parallel_device_index = 0;
|
||||
@@ -3452,6 +3480,9 @@ int main(int argc, char **argv)
|
||||
break;
|
||||
case QEMU_OPTION_pci:
|
||||
|
Loading…
Reference in New Issue
Block a user