summaryrefslogtreecommitdiff
path: root/firefox/0027-bgo-816975-fix-build-on-x86.patch
diff options
context:
space:
mode:
Diffstat (limited to 'firefox/0027-bgo-816975-fix-build-on-x86.patch')
-rw-r--r--firefox/0027-bgo-816975-fix-build-on-x86.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/firefox/0027-bgo-816975-fix-build-on-x86.patch b/firefox/0027-bgo-816975-fix-build-on-x86.patch
new file mode 100644
index 000000000..4b2289fab
--- /dev/null
+++ b/firefox/0027-bgo-816975-fix-build-on-x86.patch
@@ -0,0 +1,16 @@
+diff --git a/modules/fdlibm/src/math_private.h b/modules/fdlibm/src/math_private.h
+index 51d79f9c2ec59..fafd7d6fc1e0d 100644
+--- a/modules/fdlibm/src/math_private.h
++++ b/modules/fdlibm/src/math_private.h
+@@ -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;
+
+ /*

Generated by cgit