Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/firefox-111.0.1-fdlibm.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-04-07 17:26:08 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-04-07 17:26:08 +0200
commitcf6a3c28e1a8b6ea166012a9b333b02a720eef2a (patch)
tree1f702d6652e148fb168e14ef60dd2dd4f7b76b8e /extra/firefox/firefox-111.0.1-fdlibm.patch
parenta70a4ca97402b8290c90f6ffa4d9cf04a1e19d72 (diff)
extra/firefox: redone patching for 111.0
Diffstat (limited to 'extra/firefox/firefox-111.0.1-fdlibm.patch')
-rw-r--r--extra/firefox/firefox-111.0.1-fdlibm.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/firefox/firefox-111.0.1-fdlibm.patch b/extra/firefox/firefox-111.0.1-fdlibm.patch
new file mode 100644
index 00000000..4f600df4
--- /dev/null
+++ b/extra/firefox/firefox-111.0.1-fdlibm.patch
@@ -0,0 +1,18 @@
+diff -rauN firefox-111.0.1/modules/fdlibm/src/math_private.h firefox-111.0.1-fdlibm-patch/modules/fdlibm/src/math_private.h
+--- firefox-111.0.1/modules/fdlibm/src/math_private.h 2023-03-21 14:16:09.000000000 +0100
++++ firefox-111.0.1-fdlibm-patch/modules/fdlibm/src/math_private.h 2023-04-07 15:42:21.149010898 +0200
+@@ -30,9 +30,13 @@
+ * 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;
+-typedef float __float_t;
++/*typedef float __float_t;*/
+
+ /*
+ * The original fdlibm code used statements like: