pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51483: dosbox crashes on macOS



>Number:         51483
>Category:       pkg
>Synopsis:       dosbox crashes on macOS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 17 19:00:00 +0000 2016
>Originator:     Jonathan Schleifer
>Release:        HEAD
>Organization:
>Environment:
>Description:
DOSBox crashes on macOS as soon as doing anything serious. This seems to be caused by the 64 bit dynrec still being extremely unstable, thus the attached patch disables is on x86_64 for any OS.
>How-To-Repeat:
Try to run a game in DOSBox
>Fix:
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
index 8fb4839..abc9510 100644
--- a/emulators/dosbox/Makefile
+++ b/emulators/dosbox/Makefile
@@ -19,6 +19,9 @@ CPPFLAGS+=		-fPIC
 .endif
 LDFLAGS.SunOS+=		-lsocket
 INSTALLATION_DIRS=	share/doc/dosbox
+.if ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+=	--disable-dynrec
+.endif
 
 SUBST_CLASSES+=		fixme
 SUBST_STAGE.fixme=	post-patch


Home | Main Index | Thread Index | Old Index