Debian Codegraph @

debian/patches/Fix-math_private.h-for-i386-FTBFS.patch

raw
1 From: Mike Hommey <[email protected]>
2 Date: Sat, 27 Nov 2021 06:49:44 +0900
3 Subject: Fix math_private.h for i386 FTBFS
4
5 Origin: firefox-esr packaging, commit:https://salsa.debian.org/mozilla-team/firefox/-/commit/fc1e93ab0fd20680006d6e25f301ec47b1969518
6 ---
7 modules/fdlibm/src/math_private.h | 4 ++++
8 1 file changed, 4 insertions(+)
9
10 diff --git a/modules/fdlibm/src/math_private.h b/modules/fdlibm/src/math_private.h
11 index 45f7401..29ca8a8 100644
12 --- a/modules/fdlibm/src/math_private.h
13 +++ b/modules/fdlibm/src/math_private.h
14 @@ -30,7 +30,11 @@
15 * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
16 */
17
18 +#if defined __FLT_EVAL_METHOD__ && (__FLT_EVAL_METHOD__ == 2)
19 +typedef long double __double_t;
20 +#else
21 typedef double __double_t;
22 +#endif
23 typedef __double_t double_t;
24 typedef float __float_t;
25