summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2021-11-07 18:02:24 +0100
committerMuflone2021-11-07 18:02:24 +0100
commit36009f6cd1d2fa1d87a587b437062e4efa03f0b7 (patch)
treee8c19a0134c559ac63ea0968b47cbb7d0e8e3c0c
parent200b99838ba8cb33462b4827133d6cc06c99d076 (diff)
downloadaur-36009f6cd1d2fa1d87a587b437062e4efa03f0b7.tar.gz
Updated package firefox-esr52 52.9.0-8
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD21
-rw-r--r--gcc11_limits.patch23
-rw-r--r--mach_install_ignore_errors.patch16
4 files changed, 64 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 90fa487ed606..ecc9461208cc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefox-esr52
pkgdesc = Standalone web browser from mozilla.org, Extended Support Release 52.x with NPAPI support
pkgver = 52.9.0
- pkgrel = 7
+ pkgrel = 8
url = https://www.mozilla.org/en-US/firefox/organizations/
arch = x86_64
license = MPL
@@ -60,6 +60,9 @@ pkgbase = firefox-esr52
source = glibc-gettid-wrapper.patch
source = gfxFont.patch
source = linux_remove_sysctl.patch
+ source = gcc11_limits.patch
+ source = mach_install_ignore_errors.patch
+ source = seamonkey-use-scoped-enums-in-IDBTransaction.patch::https://bugs.archlinux.org/task/71113?getfile=20366
validpgpkeys = 2B90598A745E992F315E22C58AB132963A06537A
sha256sums = c01d09658c53c1b3a496e353a24dad03b26b81d3b1d099abc26a06f81c199dd6
sha256sums = 9efd02ff78c31f8690a12401faac2605dffcac12eaf11e1791ec4221570c2746
@@ -78,6 +81,8 @@ pkgbase = firefox-esr52
sha256sums = e2f6353d2021bb2490acd7216762cd5bae41eb55a82e245813a62a7024c01229
sha256sums = ba7858a8cb852388c870bb9acd20bedc5e9cb0b2cf7bdfa5c334e61350279232
sha256sums = 1f324e9a5bf195a58416f622c025a9dd0aac7d802f838e44d9b55b34a0e56585
+ sha256sums = f88b950d72d5edae01289fddb29dad75de075ed61735782da6687bf56af225d8
+ sha256sums = 56d70daae3a867d3c026970a6b8589678f84a1e58cf14772a3d0ef1c717f6c19
+ sha256sums = 6227a54ef4519c19ab8e39412bca71711fabab393491db691f7ef90dbe99f225
pkgname = firefox-esr52
-
diff --git a/PKGBUILD b/PKGBUILD
index ce25957b82e6..863bc2dc9fe8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=firefox-esr52
pkgver=52.9.0
-pkgrel=7
+pkgrel=8
pkgdesc='Standalone web browser from mozilla.org, Extended Support Release 52.x with NPAPI support'
arch=('x86_64')
license=('MPL' 'GPL' 'LGPL')
@@ -37,7 +37,10 @@ source=("https://ftp.mozilla.org/pub/firefox/releases/${pkgver}esr/source/firefo
"gcc9_format-overflow.patch"
"glibc-gettid-wrapper.patch"
"gfxFont.patch"
- "linux_remove_sysctl.patch")
+ "linux_remove_sysctl.patch"
+ "gcc11_limits.patch"
+ "mach_install_ignore_errors.patch"
+ "seamonkey-use-scoped-enums-in-IDBTransaction.patch"::"https://bugs.archlinux.org/task/71113?getfile=20366")
sha256sums=('c01d09658c53c1b3a496e353a24dad03b26b81d3b1d099abc26a06f81c199dd6'
'9efd02ff78c31f8690a12401faac2605dffcac12eaf11e1791ec4221570c2746'
'a2474b32b9b2d7e0fb53a4c89715507ad1c194bef77713d798fa39d507def9e9'
@@ -54,7 +57,10 @@ sha256sums=('c01d09658c53c1b3a496e353a24dad03b26b81d3b1d099abc26a06f81c199dd6'
'b66a84af7cc1809fe9dd0d7737f6043be2919ebe0a2c752cca483d67957ad431'
'e2f6353d2021bb2490acd7216762cd5bae41eb55a82e245813a62a7024c01229'
'ba7858a8cb852388c870bb9acd20bedc5e9cb0b2cf7bdfa5c334e61350279232'
- '1f324e9a5bf195a58416f622c025a9dd0aac7d802f838e44d9b55b34a0e56585')
+ '1f324e9a5bf195a58416f622c025a9dd0aac7d802f838e44d9b55b34a0e56585'
+ 'f88b950d72d5edae01289fddb29dad75de075ed61735782da6687bf56af225d8'
+ '56d70daae3a867d3c026970a6b8589678f84a1e58cf14772a3d0ef1c717f6c19'
+ '6227a54ef4519c19ab8e39412bca71711fabab393491db691f7ef90dbe99f225')
validpgpkeys=('2B90598A745E992F315E22C58AB132963A06537A')
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
@@ -119,6 +125,15 @@ prepare() {
# Fix for missing sysctl.h in memory/mozjemalloc/jemalloc.c
patch -Np1 -i "${srcdir}/linux_remove_sysctl.patch"
+
+ # Fix for limits on BaseRect.h
+ patch -Np1 -i "${srcdir}/gcc11_limits.patch"
+
+ # Ignore mach install errors as it's buggy ATM
+ patch -Np1 -i "${srcdir}/mach_install_ignore_errors.patch"
+
+ # Fix for nss 3.66
+ patch -Np1 -i "${srcdir}/seamonkey-use-scoped-enums-in-IDBTransaction.patch"
}
build() {
diff --git a/gcc11_limits.patch b/gcc11_limits.patch
new file mode 100644
index 000000000000..0c56475f46c0
--- /dev/null
+++ b/gcc11_limits.patch
@@ -0,0 +1,23 @@
+diff -Naur firefox-52.9.0esr.orig/gfx/2d/BaseRect.h firefox-52.9.0esr/gfx/2d/BaseRect.h
+--- firefox-52.9.0esr.orig/gfx/2d/BaseRect.h 2017-04-11 04:13:04.000000000 +0200
++++ firefox-52.9.0esr/gfx/2d/BaseRect.h 2021-11-07 11:43:05.918263005 +0100
+@@ -7,6 +7,7 @@
+ #define MOZILLA_GFX_BASERECT_H_
+
+ #include <algorithm>
++#include <limits>
+ #include <cmath>
+ #include <ostream>
+
+diff -Naur firefox-52.9.0esr.orig/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc firefox-52.9.0esr/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
+--- firefox-52.9.0esr.orig/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc 2017-04-11 04:13:15.000000000 +0200
++++ firefox-52.9.0esr/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc 2021-11-07 12:10:21.097272082 +0100
+@@ -8,6 +8,8 @@
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
++#include <limits>
++
+ #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h"
+
+ #include "webrtc/base/checks.h"
diff --git a/mach_install_ignore_errors.patch b/mach_install_ignore_errors.patch
new file mode 100644
index 000000000000..a6b13f54f3b2
--- /dev/null
+++ b/mach_install_ignore_errors.patch
@@ -0,0 +1,16 @@
+diff -Naur firefox-52.9.0esr.orig/toolkit/mozapps/installer/packager.py firefox-52.9.0esr/toolkit/mozapps/installer/packager.py
+--- firefox-52.9.0esr.orig/toolkit/mozapps/installer/packager.py 2017-04-11 04:13:24.000000000 +0200
++++ firefox-52.9.0esr/toolkit/mozapps/installer/packager.py 2021-11-07 17:31:56.920859058 +0100
+@@ -163,8 +163,10 @@
+ % resource],
+ extra_linker_path=gre_path,
+ extra_env=extra_env):
+- errors.fatal('Error while running startup cache precompilation')
+- return
++ # errors.fatal('Error while running startup cache precompilation')
++ # return
++ # Ignore the xpcshell errors as it's buggy ATM
++ pass
+ from mozpack.mozjar import JarReader
+ jar = JarReader(cache)
+ resource = '/resource/%s/' % resource