aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mozjs68/fix-musl-build.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-01-15 22:29:03 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-01-19 16:22:30 +0100
commitaa7e0071f815c037e3ff5efe3612a454be6de44f (patch)
treefa482e4397ed3e945cd935f93e6406e0aa46316f /testing/mozjs68/fix-musl-build.patch
parentf2fa769803fdda131a8bfd30fdcac6b91154e5bf (diff)
downloadaports-aa7e0071f815c037e3ff5efe3612a454be6de44f.tar.bz2
aports-aa7e0071f815c037e3ff5efe3612a454be6de44f.tar.xz
testing/mozjs68: new aport
Diffstat (limited to 'testing/mozjs68/fix-musl-build.patch')
-rw-r--r--testing/mozjs68/fix-musl-build.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/mozjs68/fix-musl-build.patch b/testing/mozjs68/fix-musl-build.patch
new file mode 100644
index 0000000000..af39467399
--- /dev/null
+++ b/testing/mozjs68/fix-musl-build.patch
@@ -0,0 +1,16 @@
+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)
+ ;;