On Fri, Jul 28, 2017 at 04:13:35PM +0100, Stuart Henderson wrote: > ok? ok, though perhaps mention this is svn rev 3841. https://sourceforge.net/p/dosbox/code-0/3841/
Too bad they stopped doing releases seven years ago... > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/emulators/dosbox/Makefile,v > retrieving revision 1.37 > diff -u -p -r1.37 Makefile > --- Makefile 26 Jul 2017 22:45:19 -0000 1.37 > +++ Makefile 28 Jul 2017 15:11:56 -0000 > @@ -5,7 +5,7 @@ ONLY_FOR_ARCHS= ${GCC4_ARCHS} ${CLANG_AR > COMMENT= x86 with DOS emulator targeted at playing games > > DISTNAME= dosbox-0.74 > -REVISION= 9 > +REVISION= 10 > CATEGORIES= games x11 emulators > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dosbox/} > > Index: patches/patch-src_fpu_fpu_instructions_x86_h > =================================================================== > RCS file: patches/patch-src_fpu_fpu_instructions_x86_h > diff -N patches/patch-src_fpu_fpu_instructions_x86_h > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-src_fpu_fpu_instructions_x86_h 28 Jul 2017 15:11:56 > -0000 > @@ -0,0 +1,31 @@ > +$OpenBSD$ > + > +fix on clang/i386 > + > +Index: src/fpu/fpu_instructions_x86.h > +--- src/fpu/fpu_instructions_x86.h.orig > ++++ src/fpu/fpu_instructions_x86.h > +@@ -1162,12 +1162,12 @@ static void FPU_FLD_F80(PhysPt addr) { > + > + 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_F80(PhysPt addr) { > + } > + > + 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); > + } > + >