Date: Tue, 26 Feb 2002 12:13:01 +1100 (EST) From: Hendrik Scholz <hendrik@scholz.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/35328: emulators/bochs doesn't compile on -current (incl. patch) Message-ID: <200202260113.g1Q1D1B05844@deimos.raisdorf.net>
next in thread | raw e-mail | index | archive | help
>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 hscholz@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 majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202260113.g1Q1D1B05844>