index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-10-24 20:55:48 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-10-24 20:55:48 +0200 |
commit | 27e0f91bae59415b7f35ad9a88cd90bb421838c5 (patch) | |
tree | 131967568ae9ae7be04d4d1814984c999cb66e0e /extra/firefox/firefox-106.0.1-fdlibm.patch | |
parent | 26eba053340134c0395de8a3f7afcd076e2c18bb (diff) |
-rw-r--r-- | extra/firefox/firefox-106.0.1-fdlibm.patch | 19 |
diff --git a/extra/firefox/firefox-106.0.1-fdlibm.patch b/extra/firefox/firefox-106.0.1-fdlibm.patch new file mode 100644 index 00000000..5a15d2b3 --- /dev/null +++ b/extra/firefox/firefox-106.0.1-fdlibm.patch @@ -0,0 +1,19 @@ +diff -rauN firefox-106.0.1/modules/fdlibm/src/math_private.h firefox-106.0.1-fdlibm-patches/modules/fdlibm/src/math_private.h +--- firefox-106.0.1/modules/fdlibm/src/math_private.h 2022-10-19 21:20:25.000000000 +0200 ++++ firefox-106.0.1-fdlibm-patches/modules/fdlibm/src/math_private.h 2022-10-24 20:43:41.469291933 +0200 +@@ -30,10 +30,14 @@ + * 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_t float_t; ++/*typedef __float_t float_t;*/ + + /* + * The original fdlibm code used statements like: |