Here is an update to bochs 2.4.6.
Index: Makefile =================================================================== RCS file: /home/cvs/ports/emulators/bochs/Makefile,v retrieving revision 1.49 diff -u -p -r1.49 Makefile --- Makefile 24 Oct 2010 21:17:48 -0000 1.49 +++ Makefile 2 Mar 2011 23:14:31 -0000 @@ -2,7 +2,7 @@ COMMENT= x86 machine simulator -DISTNAME= bochs-2.4.5 +DISTNAME= bochs-2.4.6 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bochs/} @@ -44,7 +44,8 @@ WANTLIB+= curses readline CONFIGURE_ARGS+= --with-nogui .else CONFIGURE_ARGS+= --with-x11 -WANTLIB+= ICE SM X11 Xau Xdmcp pthread-stubs xcb +WANTLIB+= ICE SM X11 Xau Xdmcp Xext Xpm Xrandr Xrender \ + pthread-stubs xcb .endif NO_REGRESS= Yes Index: distinfo =================================================================== RCS file: /home/cvs/ports/emulators/bochs/distinfo,v retrieving revision 1.14 diff -u -p -r1.14 distinfo --- distinfo 8 Jul 2010 15:40:11 -0000 1.14 +++ distinfo 1 Mar 2011 03:10:40 -0000 @@ -1,5 +1,5 @@ -MD5 (bochs-2.4.5.tar.gz) = /afq3NlZCTTSkB+EOWMUYw== -RMD160 (bochs-2.4.5.tar.gz) = paUtj1i4rXsdVE1PiQQyRNmfokI= -SHA1 (bochs-2.4.5.tar.gz) = 4zTTHv15yARUAYyc2vqg63XLAYo= -SHA256 (bochs-2.4.5.tar.gz) = uUhiKjZMLn2kIhpqRkC6LvpoQi4UEaw3fGnTf0b2dhY= -SIZE (bochs-2.4.5.tar.gz) = 4059598 +MD5 (bochs-2.4.6.tar.gz) = QTggvCsf8rChu+5O0e11Zw== +RMD160 (bochs-2.4.6.tar.gz) = 2Zp1HmZeM2QJLgXWhTwLlXYOXX4= +SHA1 (bochs-2.4.6.tar.gz) = 623Ih84PVoYTAe62Eyh4KoJ17I4= +SHA256 (bochs-2.4.6.tar.gz) = aJ3MX8z9cMg0ClSYbwy5woJACe1gJxiAKGgzPamsU7k= +SIZE (bochs-2.4.6.tar.gz) = 4067147 Index: patches/patch-_bochsrc =================================================================== RCS file: /home/cvs/ports/emulators/bochs/patches/patch-_bochsrc,v retrieving revision 1.5 diff -u -p -r1.5 patch-_bochsrc --- patches/patch-_bochsrc 8 Jul 2010 15:40:11 -0000 1.5 +++ patches/patch-_bochsrc 1 Mar 2011 03:11:40 -0000 @@ -1,9 +1,9 @@ $OpenBSD: patch-_bochsrc,v 1.5 2010/07/08 15:40:11 giovanni Exp $ ---- .bochsrc.orig Sat Apr 24 05:36:03 2010 -+++ .bochsrc Fri Jun 18 18:49:22 2010 -@@ -276,13 +276,13 @@ vga: extension=vbe - # The parameter 'type' can be used to enable the floppy drive without media - # and status specified. Usually the drive type is set up based on the media type. +--- .bochsrc.orig Sat Feb 12 09:00:34 2011 ++++ .bochsrc Mon Feb 28 22:11:24 2011 +@@ -295,13 +295,13 @@ vga: extension=vbe + # The optional parameter 'write_protected' can be used to control the media + # write protect switch. By default it is turned off. #======================================================================= -floppya: 1_44=/dev/fd0, status=inserted +#floppya: 1_44=/dev/fd0, status=inserted @@ -11,13 +11,13 @@ $OpenBSD: patch-_bochsrc,v 1.5 2010/07/0 #floppya: 1_44=/dev/fd0H1440, status=inserted #floppya: 1_2=../1_2, status=inserted #floppya: 1_44=a:, status=inserted - #floppya: 1_44=a.img, status=inserted + #floppya: 1_44=a.img, status=inserted, write_protected=1 -#floppya: 1_44=/dev/rfd0a, status=inserted +floppya: 1_44=/dev/rfd0a, status=inserted #======================================================================= # FLOPPYB: -@@ -420,7 +420,7 @@ boot: disk +@@ -440,7 +440,7 @@ boot: disk # # Default value are sync=none, time0=local #======================================================================= @@ -26,7 +26,7 @@ $OpenBSD: patch-_bochsrc,v 1.5 2010/07/0 #======================================================================= -@@ -444,8 +444,8 @@ floppy_bootsig_check: disabled=0 +@@ -464,8 +464,8 @@ floppy_bootsig_check: disabled=0 # log: ./bochs.out # log: /dev/tty #======================================================================= Index: patches/patch-iodev_serial_cc =================================================================== RCS file: patches/patch-iodev_serial_cc diff -N patches/patch-iodev_serial_cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-iodev_serial_cc 1 Mar 2011 03:20:12 -0000 @@ -0,0 +1,11 @@ +$OpenBSD$ +--- iodev/serial.cc.orig Mon Feb 28 22:18:50 2011 ++++ iodev/serial.cc Mon Feb 28 22:20:00 2011 +@@ -31,6 +31,7 @@ + #define BX_PLUGGABLE + + #ifndef WIN32 ++#include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <netdb.h> -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.