firefox-111.0.1-fdlibm.patch 794 B

12345678910111213141516171819202122
  1. diff -rauN firefox-111.0.1/modules/fdlibm/src/math_private.h firefox-111.0.1-fdlibm-patch/modules/fdlibm/src/math_private.h
  2. --- firefox-111.0.1/modules/fdlibm/src/math_private.h 2023-03-21 14:16:09.000000000 +0100
  3. +++ firefox-111.0.1-fdlibm-patch/modules/fdlibm/src/math_private.h 2023-04-08 16:50:07.828564320 +0200
  4. @@ -30,9 +30,17 @@
  5. * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
  6. */
  7. +#if defined __FLT_EVAL_METHOD__ && (__FLT_EVAL_METHOD__ == 2)
  8. +typedef long double __double_t;
  9. +#else
  10. typedef double __double_t;
  11. +#endif
  12. typedef __double_t double_t;
  13. +#if defined __FLT_EVAL_METHOD__ && (__FLT_EVAL_METHOD__ == 2)
  14. +typedef long double __float_t;
  15. +#else
  16. typedef float __float_t;
  17. +#endif
  18. /*
  19. * The original fdlibm code used statements like: