Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ports/35328: emulators/bochs doesn't compile on -current (incl. patch)

0 views
Skip to first unread message

Hendrik Scholz

unread,
Feb 25, 2002, 9:50:34 PM2/25/02
to

>Number: 35328
>Category: ports
>Synopsis: emulators/bochs doesn't compile on -current (incl. patch)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 25 18:50:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Hendrik Scholz
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
priavte
>Environment:
System: FreeBSD deimos.raisdorf.net 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Tue Feb 19 12:17:09 EST 2002 hsc...@deimos.raisdorf.net:/usr/src/sys/i386/compile/DEIMOS5 i386


>Description:
emulators/bochs 1.3_1,1 doesn't compile on -current. It stops with
the following error:

+ -c -O -pipe -march=pentiumpro -fno-rtti -fno-exceptions -fomit-frame-pointer -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs cdrom.cc -o cdrom.o
In file included from cdrom.cc:76:
/usr/include/sys/disklabel.h:186: `lp' was not declared in this scope
/usr/include/sys/disklabel.h:187: syntax error before `*'
gmake[1]: *** [cdrom.o] Error 1
gmake[1]: Leaving directory `/usr/ports/emulators/bochs/work/bochs-1.3/iodev'
gmake: *** [iodev/libiodev.a] Error 2
*** Error code 2

>How-To-Repeat:
cd /usr/ports/emulators/bochs && make
>Fix:

--- iodev.old/cdrom.cc Tue Feb 26 12:04:44 2002
+++ iodev/cdrom.cc Tue Feb 26 12:01:19 2002
@@ -73,12 +73,15 @@
#include <sys/file.h>
#include <sys/cdio.h>
#include <sys/ioctl.h>
+#if defined(__OpenBSD__)
#include <sys/disklabel.h>
+#endif

// XXX
#define BX_CD_FRAMESIZE 2048
#define CD_FRAMESIZE 2048
#endif
+

#ifdef WIN32
#include <windows.h>


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message

0 new messages