pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
retroarch: Disable thread local storage on NetBSD so it doesn't assertion fail & core dump on exit...
Module Name: pkgsrc-wip
Committed By: Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By: nee
Date: Sun May 21 18:37:48 2017 +0100
Changeset: 486192504c9386221af28531e4c0aaf7502006fa
Modified Files:
retroarch/Makefile
Log Message:
retroarch: Disable thread local storage on NetBSD so it doesn't
assertion fail & core dump on exit...
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=486192504c9386221af28531e4c0aaf7502006fa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
retroarch/Makefile | 10 ++++++++++
1 file changed, 10 insertions(+)
diffs:
diff --git a/retroarch/Makefile b/retroarch/Makefile
index 784da62b80..1cb52b1ede 100644
--- a/retroarch/Makefile
+++ b/retroarch/Makefile
@@ -49,6 +49,16 @@ SUBST_SED.cfg+= -e 's;\# assets_directory =.*;assets_directory = "${PREFIX}/sha
CONFIGURE_ARGS+= --disable-x11 # broken, SDL2 works
+.include "../../mk/bsd.fast.prefs.mk"
+
+# On exit:
+# assertion "pthread__tsd_destructors[key] != NULL" failed:
+# file "/usr/src/lib/libpthread/pthread_tsd.c", line 287, function "pthread_key_delete"
+# [1] Abort trap (core dumped) retroarch
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-thread_storage
+.endif
+
.include "options.mk"
.include "../../lang/python/application.mk"
.include "../../devel/zlib/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index