git: 49f593b2f77f - main - emulators/rpcs3: work around crashes on -CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Nov 2021 01:48:50 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=49f593b2f77fafebb6586218f7c1cd0aa33de693
commit 49f593b2f77fafebb6586218f7c1cd0aa33de693
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-18 01:09:44 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-18 01:48:37 +0000
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'.
---
emulators/rpcs3/Makefile | 5 +++++
1 file changed, 5 insertions(+)
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)