diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:45:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:45:40 +0000 |
commit | b9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e (patch) | |
tree | 3cbe7aab712cf5a385e4aa0446b3766b7a17617f /debian/patches/fixes/Fix-math_private.h-for-i386-FTBFS.patch | |
parent | Adding upstream version 1:115.7.0. (diff) | |
download | thunderbird-b9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e.tar.xz thunderbird-b9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e.zip |
Adding debian version 1:115.7.0-1.debian/1%115.7.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/fixes/Fix-math_private.h-for-i386-FTBFS.patch')
-rw-r--r-- | debian/patches/fixes/Fix-math_private.h-for-i386-FTBFS.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/fixes/Fix-math_private.h-for-i386-FTBFS.patch b/debian/patches/fixes/Fix-math_private.h-for-i386-FTBFS.patch new file mode 100644 index 0000000000..ff53126401 --- /dev/null +++ b/debian/patches/fixes/Fix-math_private.h-for-i386-FTBFS.patch @@ -0,0 +1,25 @@ +From: Mike Hommey <mh@glandium.org> +Date: Sat, 27 Nov 2021 06:49:44 +0900 +Subject: Fix math_private.h for i386 FTBFS + +Cherry picked from firefox. +--- + modules/fdlibm/src/math_private.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/modules/fdlibm/src/math_private.h b/modules/fdlibm/src/math_private.h +index f4373f2..632d2c4 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; + typedef float __float_t; + |