ports/183213: emulators/dosbox: Fix build for FreeBSD 10.0

Tom Carrick knyght at gmail.com
Tue Oct 22 18:50:00 UTC 2013


>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:


More information about the freebsd-ports-bugs mailing list