Patch to add wxneeded to dosbox. I got a application that otherwise
crashes with the following dosbox error message.

>Setting excute permission on the code cache has failed
>Exit to error: DRC64:Unhandled memory reference

Sat Mar 25 14:59:35 CET 2017
/usr/ports/emulators/dosbox
Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/dosbox/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile    24 Dec 2015 13:08:12 -0000      1.31
+++ Makefile    25 Mar 2017 13:59:32 -0000
@@ -1,11 +1,12 @@
 # $OpenBSD: Makefile,v 1.31 2015/12/24 13:08:12 bentley Exp $
 
 ONLY_FOR_ARCHS=        ${GCC4_ARCHS}
+USE_WXNEEDED=  Yes
 
 COMMENT=       x86 with DOS emulator targeted at playing games
 
 DISTNAME=      dosbox-0.74
-REVISION=      6
+REVISION=      7
 CATEGORIES=    games x11 emulators
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=dosbox/}
 

Reply via email to