Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/js102/firefox-102.9.0-fdlibm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/js102/firefox-102.9.0-fdlibm.patch')
-rw-r--r--extra/js102/firefox-102.9.0-fdlibm.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/js102/firefox-102.9.0-fdlibm.patch b/extra/js102/firefox-102.9.0-fdlibm.patch
new file mode 100644
index 00000000..20e4af9a
--- /dev/null
+++ b/extra/js102/firefox-102.9.0-fdlibm.patch
@@ -0,0 +1,15 @@
+diff -rauN firefox-102.9.0/modules/fdlibm/src/math_private.h firefox-102.9.0-fdlibm-patch/modules/fdlibm/src/math_private.h
+--- firefox-102.9.0/modules/fdlibm/src/math_private.h 2023-03-10 00:59:37.000000000 +0100
++++ firefox-102.9.0-fdlibm-patch/modules/fdlibm/src/math_private.h 2023-04-09 11:29:38.109553268 +0200
+@@ -30,7 +30,11 @@
+ * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
+ */
+
++#if defined __FLT_EVAL_METHOD__ && (__FLT_EVAL_METHOD__ == 2)
++typedef long double __double_t;
++#else
+ typedef double __double_t;
++#endif
+ typedef __double_t double_t;
+
+ /*