diff --git a/README.debrand b/README.debrand deleted file mode 100644 index 01c46d2..0000000 --- a/README.debrand +++ /dev/null @@ -1,2 +0,0 @@ -Warning: This package was configured for automatic debranding, but the changes -failed to apply. diff --git a/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch b/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch index 88c4a13..6dfe2ad 100644 --- a/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch +++ b/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch @@ -1,352 +1,12 @@ - - - - - - Tree - rpms/thunderbird - CentOS Git server - - - - - - - - - - - - - - - - -
- - -
-
-
-
-
-
-

-

-
-
-

-rpms / thunderbird -

-
-
-
-
-
-
- - - Clone - - - -
-
-
-
- - -
-
- -
-
- -
- -
-
- -
- -
-
-
- - -
- - Blob - - Blame - - Raw -
- -
diff -up firefox-60.0/mfbt/LinuxSignal.h.mozilla-1238661 firefox-60.0/mfbt/LinuxSignal.h
+diff -up firefox-60.0/mfbt/LinuxSignal.h.mozilla-1238661 firefox-60.0/mfbt/LinuxSignal.h
 --- firefox-60.0/mfbt/LinuxSignal.h.mozilla-1238661	2018-04-27 08:55:38.848241768 +0200
 +++ firefox-60.0/mfbt/LinuxSignal.h	2018-04-27 09:06:47.946769859 +0200
 @@ -22,7 +22,7 @@ __attribute__((naked)) void SignalTrampo
                                               void* aContext) {
-   asm volatile("nop; nop; nop; nop" : : : "memory");
+   asm volatile("nop; nop; nop; nop" : : : "memory");
  
--  asm volatile("b %0" : : "X"(H) : "memory");
-+  asm volatile("bx %0" : : "r"(H), "l"(aSignal), "l"(aInfo), "l"(aContext) : "memory");
+-  asm volatile("b %0" : : "X"(H) : "memory");
++  asm volatile("bx %0" : : "r"(H), "l"(aSignal), "l"(aInfo), "l"(aContext) : "memory");
  }
  
- #  define MOZ_SIGNAL_TRAMPOLINE(h) (mozilla::SignalTrampoline<h>)
-
-
-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + # define MOZ_SIGNAL_TRAMPOLINE(h) (mozilla::SignalTrampoline) diff --git a/SOURCES/Bug-1526653---fix_user_vfp_armv7.patch b/SOURCES/Bug-1526653---fix_user_vfp_armv7.patch index 6725466..3f84f95 100644 --- a/SOURCES/Bug-1526653---fix_user_vfp_armv7.patch +++ b/SOURCES/Bug-1526653---fix_user_vfp_armv7.patch @@ -1,227 +1,5 @@ - - - - - - Tree - rpms/thunderbird - CentOS Git server - - - - - - - - - - - - - - - - -
- - -
-
-
-
-
-
-

-

-
-
-

-rpms / thunderbird -

-
-
-
-
-
-
- - - Clone - - - -
-
-
-
- - -
-
- -
-
- -
- -
-
- -
- -
-
-
- - -
- - Blob - - Blame - - Raw -
- -
From fd6847c9416f9eebde636e21d794d25d1be8791d Mon Sep 17 00:00:00 2001
-From: Mike Hommey <mh@glandium.org>
+From fd6847c9416f9eebde636e21d794d25d1be8791d Mon Sep 17 00:00:00 2001
+From: Mike Hommey 
 Date: Sat, 1 Jun 2019 09:06:01 +0900
 Subject: [PATCH] Bug 1526653 - Include struct definitions for user_vfp and
  user_vfp_exc.
@@ -238,7 +16,7 @@ index 636537f8478..383c380f04c 100644
  #endif
  
  #ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
--#  include <sys/user.h>
+-#  include 
 +struct user_vfp {
 +  unsigned long long fpregs[32];
 +  unsigned long fpscr;
@@ -255,121 +33,3 @@ index 636537f8478..383c380f04c 100644
 -- 
 2.20.1
 
-
-
-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/SPECS/thunderbird.spec b/SPECS/thunderbird.spec index 9211138..098c9cb 100644 --- a/SPECS/thunderbird.spec +++ b/SPECS/thunderbird.spec @@ -1,3 +1,9 @@ +%ifarch %{arm} +%if 0%{?rhel} == 8 +%undefine _debugsource_packages +%endif +%endif + %global debug_build 0 # Set for local builds only %global disable_toolsets 0 @@ -485,8 +491,12 @@ function add_to_mozconfig() { %endif %ifarch armv7hl # ARMv7 need that (rhbz#1426850) +%if 0%{?rhel} == 8 +%global optimize_flags "-g0 -O2 -fno-schedule-insns -fno-lto" +%else %global optimize_flags "-g -O2 -fno-schedule-insns" %endif +%endif %ifarch ppc64le aarch64 %global optimize_flags "-g -O2" %endif @@ -796,11 +806,21 @@ MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/') # (OOM when linking, rhbz#1238225) export MOZ_DEBUG_FLAGS=" " %endif +%ifarch %{arm} +%if 0%{?rhel} == 8 +MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g0/') +export MOZ_DEBUG_FLAGS=" " +%endif +%endif %ifarch s390 %{arm} ppc aarch64 i686 MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" %endif %ifarch %{arm} export RUSTFLAGS="-Cdebuginfo=0" +%if 0%{?rhel} == 8 +MOZ_LINK_FLAGS="-Wl,--no-keep-memory" +echo "ac_add_options --enable-linker=gold" >> .mozconfig +%endif %endif %ifarch s390 MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')