thunderbird: fix i686 build.
They seem to have backported whatever started causing issues in firefox 93, so copy that patch.
This commit is contained in:
parent
852f96644d
commit
5d61413e8b
1 changed files with 18 additions and 0 deletions
18
srcpkgs/thunderbird/patches/fix-i386-fdlibm.patch
Normal file
18
srcpkgs/thunderbird/patches/fix-i386-fdlibm.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
# error: typedef redefinition with different types ('__double_t' (aka 'double') vs 'long double')
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1729459
|
||||
|
||||
--- a/modules/fdlibm/src/math_private.h
|
||||
+++ b/modules/fdlibm/src/math_private.h
|
||||
@@ -30,7 +30,12 @@
|
||||
* Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
|
||||
*/
|
||||
|
||||
+#if defined(__linux__) && defined(__i386__)
|
||||
+// rely on glibc's double_t
|
||||
+typedef long double __double_t;
|
||||
+#else
|
||||
typedef double __double_t;
|
||||
+#endif
|
||||
typedef __double_t double_t;
|
||||
|
||||
/*
|
Loading…
Reference in a new issue