Date: Tue, 22 Oct 2013 18:48:54 GMT From: Tom Carrick <knyght@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183213: emulators/dosbox: Fix build for FreeBSD 10.0 Message-ID: <201310221848.r9MImsmr027981@oldred.freebsd.org> Resent-Message-ID: <201310221850.r9MIo0RD067347@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183213 >Category: ports >Synopsis: emulators/dosbox: Fix build for FreeBSD 10.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 22 18:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tom Carrick >Release: FreeBSD 10.0-BETA1 >Organization: >Environment: >Description: Attached patch to fix building in clang, and thus FreeBSD 10.0 >How-To-Repeat: Attempt to build port with clang >Fix: See patch Patch attached with submission follows: --- fpu_instructions_x86.h.orig 2010-05-10 18:43:54.000000000 +0100 +++ fpu_instructions_x86.h 2013-10-19 11:05:47.000000000 +0100 @@ -1162,12 +1162,12 @@ static void FPU_FLD_I16(PhysPt addr,Bitu store_to) { fpu.p_regs[8].m1 = (Bit32u)mem_readw(addr); - FPUD_LOAD(fild,WORD,) + FPUD_LOAD(fild,WORD,s) } static void FPU_FLD_I16_EA(PhysPt addr) { fpu.p_regs[8].m1 = (Bit32u)mem_readw(addr); - FPUD_LOAD_EA(fild,WORD,) + FPUD_LOAD_EA(fild,WORD,s) } static void FPU_FLD_I32(PhysPt addr,Bitu store_to) { @@ -1212,7 +1212,7 @@ } static void FPU_FST_I16(PhysPt addr) { - FPUD_STORE(fistp,WORD,) + FPUD_STORE(fistp,WORD,s) mem_writew(addr,(Bit16u)fpu.p_regs[8].m1); } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310221848.r9MImsmr027981>