firefox: remove obsolete patch

This commit is contained in:
Duncaen 2022-09-23 01:50:20 +02:00
parent 17051196f4
commit 40e1813af8
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35

View File

@ -1,18 +0,0 @@
# 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;
/*