void-packages/srcpkgs/mozjs60/patches/0005-fix-musl-build.patch
Jürgen Buchmüller 5e8386b770
mozjs60: update to 60.7.0
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-06-02 01:04:06 +02:00

16 lines
434 B
Diff

Upstream: No
Reason: mozjs60 miscompiles on musl if built with HAVE_THREAD_TLS_KEYWORD:
https://github.com/void-linux/void-packages/issues/2598
diff --git a/js/src/old-configure.in b/js/src/old-configure.in
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -1272,6 +1272,9 @@
*-android*|*-linuxandroid*)
:
;;
+ *-musl*)
+ :
+ ;;
*)
AC_DEFINE(HAVE_THREAD_TLS_KEYWORD)
;;