From 2a711384ebd8f9b1142138135ae3b7e494f3b06b Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Tue, 2 Oct 2018 13:10:36 +0200 Subject: [PATCH] Disable elfhack for fedora 29+ because of build failures --- thunderbird.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/thunderbird.spec b/thunderbird.spec index f4d4985..96910ab 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -13,6 +13,11 @@ %define build_langpacks 1 +%global disable_elfhack 0 +%if 0%{?fedora} > 28 +%global disable_elfhack 1 +%endif + %if %{?system_nss} %global nspr_version 4.10.6 %global nspr_build_version %(pkg-config --silence-errors --modversion nspr 2>/dev/null || echo 65536) @@ -119,6 +124,7 @@ Patch104: firefox-gcc-6.0.patch Patch304: mozilla-1245783.patch Patch305: build-big-endian.patch Patch306: mozilla-1353817.patch +Patch307: build-big-endian.patch # Fedora specific patches @@ -247,6 +253,9 @@ debug %{name}, you want to install %{name}-debuginfo instead. %patch417 -p1 -b .bug1375074-save-restore-x28 %patch306 -p1 -b .1353817 +%if 0%{?disable_elfhack} +%patch307 -p1 -b .build-big-endian +%endif #cd .. %if %{official_branding}