diff options
Diffstat (limited to 'extra/js78/patches/fix-musl-build.patch')
-rw-r--r-- | extra/js78/patches/fix-musl-build.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/js78/patches/fix-musl-build.patch b/extra/js78/patches/fix-musl-build.patch new file mode 100644 index 0000000..af39467 --- /dev/null +++ b/extra/js78/patches/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) + ;; |