summaryrefslogtreecommitdiff
path: root/lang/spidermonkey91/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/spidermonkey91/files')
-rw-r--r--lang/spidermonkey91/files/patch-build_moz.configure_init.configure12
-rw-r--r--lang/spidermonkey91/files/patch-config_gcc__hidden.h17
-rw-r--r--lang/spidermonkey91/files/patch-js_moz.configure11
-rw-r--r--lang/spidermonkey91/files/patch-js_src_Makefile.in11
-rw-r--r--lang/spidermonkey91/files/patch-js_src_jit_ExecutableAllocator.h14
-rw-r--r--lang/spidermonkey91/files/patch-js_src_jit_ProcessExecutableMemory.h12
-rw-r--r--lang/spidermonkey91/files/patch-js_src_wasm_WasmSignalHandlers.cpp14
-rw-r--r--lang/spidermonkey91/files/patch-modules_fdlibm_src_math__private.h46
-rw-r--r--lang/spidermonkey91/files/patch-moz.configure14
9 files changed, 0 insertions, 151 deletions
diff --git a/lang/spidermonkey91/files/patch-build_moz.configure_init.configure b/lang/spidermonkey91/files/patch-build_moz.configure_init.configure
deleted file mode 100644
index e2105d02928f..000000000000
--- a/lang/spidermonkey91/files/patch-build_moz.configure_init.configure
+++ /dev/null
@@ -1,12 +0,0 @@
---- build/moz.configure/init.configure.orig 2022-03-30 19:25:29 UTC
-+++ build/moz.configure/init.configure
-@@ -729,6 +729,9 @@ def split_triplet(triplet, allow_msvc=False, allow_was
- elif cpu in ("x86_64", "ia64"):
- canonical_cpu = cpu
- endianness = "little"
-+ elif cpu in ("amd64"):
-+ canonical_cpu = "x86_64"
-+ endianness = "little"
- elif cpu in ("s390", "s390x"):
- canonical_cpu = cpu
- endianness = "big"
diff --git a/lang/spidermonkey91/files/patch-config_gcc__hidden.h b/lang/spidermonkey91/files/patch-config_gcc__hidden.h
deleted file mode 100644
index d9a2d9be37f5..000000000000
--- a/lang/spidermonkey91/files/patch-config_gcc__hidden.h
+++ /dev/null
@@ -1,17 +0,0 @@
-Toggle symbol visibility, otherwise certain symbols are marked as local
-which are actually supposed to be used (e.g. by gjs):
-
-void js::UnsafeTraceManuallyBarrieredEdge<jsid>(JSTracer*, jsid*, char const*)
-void JS::TraceEdge<JSObject*>(JSTracer*, JS::Heap<JSObject*>*, char const*)
-void js::UnsafeTraceManuallyBarrieredEdge<JSObject*>(JSTracer*, JSObject**, char const*)
-void js::UnsafeTraceManuallyBarrieredEdge<JS::Value>(JSTracer*, JS::Value*, char const*)
-
-Index: config/gcc_hidden.h
---- config/gcc_hidden.h.orig 2022-03-30 19:25:29 UTC
-+++ config/gcc_hidden.h
-@@ -3,4 +3,4 @@
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
- /* Begin all files as hidden visibility */
--#pragma GCC visibility push(hidden)
-+#pragma GCC visibility push(default)
diff --git a/lang/spidermonkey91/files/patch-js_moz.configure b/lang/spidermonkey91/files/patch-js_moz.configure
deleted file mode 100644
index ceec1a21abe7..000000000000
--- a/lang/spidermonkey91/files/patch-js_moz.configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- js/moz.configure.orig 2022-04-15 17:29:44 UTC
-+++ js/moz.configure
-@@ -919,7 +919,7 @@ has_readline = check_symbol(
-
- has_readline = check_symbol(
- "readline",
-- flags=["-lreadline"],
-+ flags=["-lreadline", "-L%%LOCALBASE%%/lib"],
- when="--enable-readline",
- onerror=lambda: die("No system readline library found"),
- )
diff --git a/lang/spidermonkey91/files/patch-js_src_Makefile.in b/lang/spidermonkey91/files/patch-js_src_Makefile.in
deleted file mode 100644
index 2dca25000935..000000000000
--- a/lang/spidermonkey91/files/patch-js_src_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
-Index: js/src/Makefile.in
---- js/src/Makefile.in.orig 2022-03-30 19:25:41 UTC
-+++ js/src/Makefile.in
-@@ -106,7 +106,6 @@ install::
-
- install::
- $(MAKE) -C build install
-- $(MAKE) -C shell install
-
- ifdef HAVE_DTRACE
- javascript-trace.h: $(srcdir)/devtools/javascript-trace.d
diff --git a/lang/spidermonkey91/files/patch-js_src_jit_ExecutableAllocator.h b/lang/spidermonkey91/files/patch-js_src_jit_ExecutableAllocator.h
deleted file mode 100644
index 421523e23bd9..000000000000
--- a/lang/spidermonkey91/files/patch-js_src_jit_ExecutableAllocator.h
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: js/src/jit/ExecutableAllocator.h
---- js/src/jit/ExecutableAllocator.h.orig 2022-03-30 19:25:41 UTC
-+++ js/src/jit/ExecutableAllocator.h
-@@ -39,6 +39,10 @@
- #include "js/TypeDecls.h"
- #include "js/Vector.h"
-
-+#if defined(__OpenBSD__) && defined(__mips64__)
-+#include <mips64/sysarch.h>
-+#endif
-+
- namespace JS {
- struct CodeSizes;
- } // namespace JS
diff --git a/lang/spidermonkey91/files/patch-js_src_jit_ProcessExecutableMemory.h b/lang/spidermonkey91/files/patch-js_src_jit_ProcessExecutableMemory.h
deleted file mode 100644
index 1f4c09b095fb..000000000000
--- a/lang/spidermonkey91/files/patch-js_src_jit_ProcessExecutableMemory.h
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: js/src/jit/ProcessExecutableMemory.h
---- js/src/jit/ProcessExecutableMemory.h.orig 2022-03-30 19:25:41 UTC
-+++ js/src/jit/ProcessExecutableMemory.h
-@@ -14,7 +14,7 @@ namespace jit {
-
- // Limit on the number of bytes of executable memory to prevent JIT spraying
- // attacks.
--#if JS_BITS_PER_WORD == 32
-+#if JS_BITS_PER_WORD == 32 || defined(__OpenBSD__)
- static const size_t MaxCodeBytesPerProcess = 140 * 1024 * 1024;
- #else
- // This is the largest number which satisfies various alignment static
diff --git a/lang/spidermonkey91/files/patch-js_src_wasm_WasmSignalHandlers.cpp b/lang/spidermonkey91/files/patch-js_src_wasm_WasmSignalHandlers.cpp
deleted file mode 100644
index 07912e8cc86a..000000000000
--- a/lang/spidermonkey91/files/patch-js_src_wasm_WasmSignalHandlers.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-Fully define all the registers needed on mips.
-
-Index: js/src/wasm/WasmSignalHandlers.cpp
---- js/src/wasm/WasmSignalHandlers.cpp.orig 2022-03-30 19:25:42 UTC
-+++ js/src/wasm/WasmSignalHandlers.cpp
-@@ -102,6 +102,8 @@ using mozilla::DebugOnly;
- # if defined(__mips__)
- # define EPC_sig(p) ((p)->sc_pc)
- # define RFP_sig(p) ((p)->sc_regs[30])
-+# define RSP_sig(p) ((p)->sc_regs[29])
-+# define R31_sig(p) ((p)->sc_regs[31])
- # endif
- # if defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || \
- defined(__PPC64LE__)
diff --git a/lang/spidermonkey91/files/patch-modules_fdlibm_src_math__private.h b/lang/spidermonkey91/files/patch-modules_fdlibm_src_math__private.h
deleted file mode 100644
index 8be5854b5160..000000000000
--- a/lang/spidermonkey91/files/patch-modules_fdlibm_src_math__private.h
+++ /dev/null
@@ -1,46 +0,0 @@
---- modules/fdlibm/src/math_private.h.orig 2022-04-16 03:20:29 UTC
-+++ modules/fdlibm/src/math_private.h
-@@ -30,7 +30,9 @@
- * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
- */
-
-+#ifndef __FreeBSD__
- typedef double __double_t;
-+#endif
- typedef __double_t double_t;
-
- /*
-@@ -636,6 +638,33 @@ rnint(__double_t x)
- * sometimes be more efficient because no rounding is required.
- */
- #if (defined(amd64) || defined(__i386__)) && defined(__GNUCLIKE_ASM)
-+
-+#if defined(__i386__)
-+static __inline int
-+irintf(float x)
-+{
-+ int n;
-+ __asm("fistl %0" : "=m" (n) : "t" (x));
-+ return (n);
-+}
-+
-+static __inline int
-+irintd(double x)
-+{
-+ int n;
-+ __asm("fistl %0" : "=m" (n) : "t" (x));
-+ return (n);
-+}
-+
-+static __inline int
-+irintl(long x)
-+{
-+ int n;
-+ __asm("fistl %0" : "=m" (n) : "t" (x));
-+ return (n);
-+}
-+#endif
-+
- #define irint(x) \
- (sizeof(x) == sizeof(float) && \
- sizeof(__float_t) == sizeof(long double) ? irintf(x) : \
diff --git a/lang/spidermonkey91/files/patch-moz.configure b/lang/spidermonkey91/files/patch-moz.configure
deleted file mode 100644
index 94ae8c5f0b07..000000000000
--- a/lang/spidermonkey91/files/patch-moz.configure
+++ /dev/null
@@ -1,14 +0,0 @@
-- Fix awk detection
-
-Index: moz.configure
---- moz.configure.orig 2022-03-30 19:25:49 UTC
-+++ moz.configure
-@@ -708,7 +708,7 @@ add_old_configure_assignment("CLANG_PLUGIN", clang_plu
-
- # Awk detection
- # ==============================================================
--awk = check_prog("AWK", ("gawk", "mawk", "nawk", "awk"))
-+awk = check_prog('AWK', ('awk',))
-
- # Until the AWK variable is not necessary in old-configure
-