From b44a8961ebe2b887e9cb17c9191e3cf1e6d9a99c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Mon, 20 Sep 2021 10:02:11 +0200 Subject: [PATCH] - double_t is already defined in glibc 2.34 --- glibc-2.34.patch | 12 ++++++++++++ thunderbird.spec | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 glibc-2.34.patch 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: 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 -- 2.43.0