pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/dosbox-x dosbox-x: Not mprotect safe on x86



details:   https://anonhg.NetBSD.org/pkgsrc/rev/189103fd37ff
branches:  trunk
changeset: 343333:189103fd37ff
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Nov 02 18:30:48 2019 +0000

description:
dosbox-x: Not mprotect safe on x86

diffstat:

 emulators/dosbox-x/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r c44e5e0fe8c3 -r 189103fd37ff emulators/dosbox-x/Makefile
--- a/emulators/dosbox-x/Makefile       Sat Nov 02 17:09:54 2019 +0000
+++ b/emulators/dosbox-x/Makefile       Sat Nov 02 18:30:48 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2019/11/01 17:53:41 nia Exp $
+# $NetBSD: Makefile,v 1.6 2019/11/02 18:30:48 nia Exp $
 
 DISTNAME=      dosbox-x-0.82.23
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=joncampbell123/}
 GITHUB_TAG=    dosbox-x-v${PKGVERSION_NOREV}
@@ -32,6 +33,9 @@
 CONFIGURE_ARGS+=       --disable-dynrec
 CONFIGURE_ARGS+=       --disable-fpu-x86
 CONFIGURE_ARGS+=       --disable-fpu-x64
+.else
+# LOG: Setting execute permission on the code cache has failed
+NOT_PAX_MPROTECT_SAFE+=        bin/dosbox-x
 .endif
 
 PKGCONFIG_OVERRIDE+=   vs2015/libpng/libpng.pc.in



Home | Main Index | Thread Index | Old Index