From owner-freebsd-ports Mon Feb 25 18:50:22 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5262037B404 for ; Mon, 25 Feb 2002 18:50:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1Q2o7v27501; Mon, 25 Feb 2002 18:50:07 -0800 (PST) (envelope-from gnats) Received: from phobos.raisdorf.net (phobos.raisdorf.net [195.244.235.251]) by hub.freebsd.org (Postfix) with ESMTP id 6B27837B402 for ; Mon, 25 Feb 2002 18:48:39 -0800 (PST) Received: (from netadmin@localhost) by phobos.raisdorf.net (8.11.6/8.11.6) with UUCP id g1Q2NPN03839 for FreeBSD-gnats-submit@freebsd.org; Tue, 26 Feb 2002 03:23:26 +0100 (CET) Received: (from hscholz@localhost) by deimos.raisdorf.net (8.11.6/8.11.6) id g1Q1D1B05844; Tue, 26 Feb 2002 12:13:01 +1100 (EST) (envelope-from hscholz) Message-Id: <200202260113.g1Q1D1B05844@deimos.raisdorf.net> Date: Tue, 26 Feb 2002 12:13:01 +1100 (EST) From: Hendrik Scholz Reply-To: Hendrik Scholz To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35328: emulators/bochs doesn't compile on -current (incl. patch) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 #include #include +#if defined(__OpenBSD__) #include +#endif // XXX #define BX_CD_FRAMESIZE 2048 #define CD_FRAMESIZE 2048 #endif + #ifdef WIN32 #include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message