pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators retroarch: Disable PaX MPROTECT to make user...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f6233b63bda
branches:  trunk
changeset: 386347:1f6233b63bda
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Oct 15 17:53:23 2018 +0000

description:
retroarch: Disable PaX MPROTECT to make users' lives easier.

Update MESSAGEs for cores accordingly.

diffstat:

 emulators/libretro-dolphin/MESSAGE |  13 ++++++++-----
 emulators/libretro-ppsspp/MESSAGE  |   7 +------
 emulators/libretro-reicast/MESSAGE |   9 +--------
 emulators/retroarch/Makefile       |   5 ++++-
 4 files changed, 14 insertions(+), 20 deletions(-)

diffs (77 lines):

diff -r 9645af6ce9fa -r 1f6233b63bda emulators/libretro-dolphin/MESSAGE
--- a/emulators/libretro-dolphin/MESSAGE        Mon Oct 15 17:20:34 2018 +0000
+++ b/emulators/libretro-dolphin/MESSAGE        Mon Oct 15 17:53:23 2018 +0000
@@ -1,9 +1,12 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1 2018/10/15 17:20:21 nia Exp $
+$NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $
+
+Prior to using libretro-dolphin:
 
-This package is not PaX MPROTECT-safe, because of its just-in-time
-compiler.
-
-MPROTECT must be disabled for RetroArch for this core to be usable.
+1. cd to RetroArch's System (where your BIOS files are) or RetroArch's
+Content directory (where your GC/Wii software images are).
+2. mkdir dolphin-emu
+3. git clone --depth=1 https://github.com/libretro/dolphin.git
+4. cp -R dolphin/Data/Sys dolphin-emu/ && rm -rf dolphin
 
 ===========================================================================
diff -r 9645af6ce9fa -r 1f6233b63bda emulators/libretro-ppsspp/MESSAGE
--- a/emulators/libretro-ppsspp/MESSAGE Mon Oct 15 17:20:34 2018 +0000
+++ b/emulators/libretro-ppsspp/MESSAGE Mon Oct 15 17:53:23 2018 +0000
@@ -1,10 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1 2018/08/14 12:55:41 nia Exp $
-
-This package is not PaX MPROTECT-safe, because of its just-in-time
-compiler.
-
-MPROTECT must be disabled for RetroArch for this core to be usable.
+$NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $
 
 Prior to using libretro-ppsspp:
 
diff -r 9645af6ce9fa -r 1f6233b63bda emulators/libretro-reicast/MESSAGE
--- a/emulators/libretro-reicast/MESSAGE        Mon Oct 15 17:20:34 2018 +0000
+++ b/emulators/libretro-reicast/MESSAGE        Mon Oct 15 17:53:23 2018 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1 2018/10/13 17:02:16 nia Exp $
+$NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $
 
 Reicast requires the following BIOS files in order to work:
 
@@ -14,11 +14,4 @@
 Alternatively, you can place them in your Content Directory next to the
 software you are going to run.
 
---
-
-This package is not PaX MPROTECT-safe, because of its just-in-time
-compiler.
-
-MPROTECT must be disabled for RetroArch for this core to be usable.
-
 ===========================================================================
diff -r 9645af6ce9fa -r 1f6233b63bda emulators/retroarch/Makefile
--- a/emulators/retroarch/Makefile      Mon Oct 15 17:20:34 2018 +0000
+++ b/emulators/retroarch/Makefile      Mon Oct 15 17:53:23 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2018/10/12 23:43:47 nia Exp $
+# $NetBSD: Makefile,v 1.14 2018/10/15 17:53:23 nia Exp $
 
 PKGNAME=       retroarch-${RETROARCH_VERSION}
 DISTNAME=      RetroArch-${RETROARCH_VERSION}
@@ -17,6 +17,9 @@
 
 HAS_CONFIGURE= yes
 
+# Needed for certain cores, e.g. Dolphin, Reicast.
+NOT_PAX_MPROTECT_SAFE+=        bin/retroarch
+
 CONFIGURE_ARGS+=       --disable-builtinminiupnpc
 CONFIGURE_ARGS+=       --disable-builtinzlib
 CONFIGURE_ARGS+=       --disable-builtinflac



Home | Main Index | Thread Index | Old Index