- double_t is already defined in glibc 2.34
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 20 Sep 2021 08:02:11 +0000 (10:02 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 20 Sep 2021 08:02:11 +0000 (10:02 +0200)
glibc-2.34.patch [new file with mode: 0644]
thunderbird.spec

diff --git a/glibc-2.34.patch b/glibc-2.34.patch
new file mode 100644 (file)
index 0000000..6e55c2c
--- /dev/null
@@ -0,0 +1,12 @@
+--- thunderbird-91.1.1/modules/fdlibm/src/math_private.h.orig  2021-09-16 18:04:11.000000000 +0200
++++ thunderbird-91.1.1/modules/fdlibm/src/math_private.h       2021-09-20 09:14:38.327837986 +0200
+@@ -30,8 +30,7 @@
+  * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
+  */
+-typedef double      __double_t;
+-typedef __double_t  double_t;
++typedef double_t __double_t;
+ /*
+  * The original fdlibm code used statements like:
index 26e2b91c1b066363a359158644261e62b64e8a01..ca8cec0a0d0304f19e0ab6ea058d7b5f8d82d35b 100644 (file)
@@ -182,6 +182,7 @@ Patch0:             prefs.patch
 Patch1:                no-subshell.patch
 Patch2:                enable-addons.patch
 Patch3:                %{name}-system-virtualenv.patch
+Patch4:                glibc-2.34.patch
 URL:           http://www.mozilla.org/projects/thunderbird/
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf2_13 >= 2.13
@@ -1350,6 +1351,7 @@ unpack() {
 %patch1 -p1
 %patch2 -p0
 %patch3 -p2
+%patch4 -p1
 
 %build
 cp -p %{_datadir}/automake/config.* build/autoconf
This page took 0.078433 seconds and 4 git commands to generate.