Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/firefox-99.0.1-fdlibm-double.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-04-25 17:14:03 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-04-25 17:14:03 +0200
commit72165250a329c2f4f5532df4cffbdc5e4933d407 (patch)
treebd2802572950e9a5711d26ec01126164d2648295 /extra/firefox/firefox-99.0.1-fdlibm-double.patch
parent54af78c2652458329f9157fa127c55f5230b273e (diff)
extra/firefox: added a patch for redifition of double_t
Diffstat (limited to 'extra/firefox/firefox-99.0.1-fdlibm-double.patch')
-rw-r--r--extra/firefox/firefox-99.0.1-fdlibm-double.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/firefox/firefox-99.0.1-fdlibm-double.patch b/extra/firefox/firefox-99.0.1-fdlibm-double.patch
new file mode 100644
index 00000000..ffd4b1d7
--- /dev/null
+++ b/extra/firefox/firefox-99.0.1-fdlibm-double.patch
@@ -0,0 +1,15 @@
+diff -rauN firefox-99.0.1/modules/fdlibm/src/math_private.h firefox-99.0.1-fdlibm-double-patch/modules/fdlibm/src/math_private.h
+--- firefox-99.0.1/modules/fdlibm/src/math_private.h 2022-04-12 00:00:09.000000000 +0200
++++ firefox-99.0.1-fdlibm-double-patch/modules/fdlibm/src/math_private.h 2022-04-25 16:47:00.697715429 +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;
+
+ /*