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
blob: 20e4af9a58b8b9018796411652adce5a8cbf04d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
 
 /*