[packages/thunderbird] - double_t is already defined in glibc 2.34

baggins baggins at pld-linux.org
Mon Sep 20 10:02:47 CEST 2021


commit b44a8961ebe2b887e9cb17c9191e3cf1e6d9a99c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Sep 20 10:02:11 2021 +0200

    - double_t is already defined in glibc 2.34

 glibc-2.34.patch | 12 ++++++++++++
 thunderbird.spec |  2 ++
 2 files changed, 14 insertions(+)
---
diff --git a/thunderbird.spec b/thunderbird.spec
index 26e2b91..ca8cec0 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -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
diff --git a/glibc-2.34.patch b/glibc-2.34.patch
new file mode 100644
index 0000000..6e55c2c
--- /dev/null
+++ b/glibc-2.34.patch
@@ -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:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thunderbird.git/commitdiff/b44a8961ebe2b887e9cb17c9191e3cf1e6d9a99c



More information about the pld-cvs-commit mailing list