aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-11-18 01:09:44 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-11-18 01:48:37 +0000
commit49f593b2f77fafebb6586218f7c1cd0aa33de693 (patch)
tree77ed0f7bdfa6dedf032c00ecfaa3e4bd3365f3c3 /emulators
parentfd6ba7e8d0c10103dced42c16bd609e3110f5609 (diff)
downloadports-49f593b2f77fafebb6586218f7c1cd0aa33de693.tar.gz
ports-49f593b2f77fafebb6586218f7c1cd0aa33de693.zip
emulators/rpcs3: work around crashes on -CURRENT
RPCS3: PPU[0x1000000] Thread (main_thread) [0x0001d4f8]: SIG: Thread terminated due to fatal error: Segfault writing location 00002b1104240080 at 000000081b67b4ea. Emu Thread Name: 'PPU[0x1000000] main_thread'.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/rpcs3/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile
index 6fe6cafc8290..ea51c9da4b0b 100644
--- a/emulators/rpcs3/Makefile
+++ b/emulators/rpcs3/Makefile
@@ -73,6 +73,11 @@ post-patch:
-e '/GIT_VERSION/s/local_build/${GH_TAGNAME:C/[^-]*-//}/' \
${WRKSRC}/${PORTNAME}/git-version.cmake
+post-install:
+.if exists(/usr/bin/elfctl)
+ elfctl -e +noaslr ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+.endif
+
.include <bsd.port.pre.mk>
# Ignore Mk/bsd.default-versions.mk but respect make.conf(5)