summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--0001-Add-a-few-missing-cstdint-includes.patch51
-rw-r--r--PKGBUILD20
2 files changed, 65 insertions, 6 deletions
diff --git a/0001-Add-a-few-missing-cstdint-includes.patch b/0001-Add-a-few-missing-cstdint-includes.patch
new file mode 100644
index 0000000..179c7fa
--- /dev/null
+++ b/0001-Add-a-few-missing-cstdint-includes.patch
@@ -0,0 +1,51 @@
+--- a/gfx/2d/Rect.h
++++ b/gfx/2d/Rect.h
+@@ -10,16 +10,17 @@
+ #include "BaseRect.h"
+ #include "BaseMargin.h"
+ #include "NumericTools.h"
+ #include "Point.h"
+ #include "Tools.h"
+ #include "mozilla/Maybe.h"
+
+ #include <cmath>
++#include <cstdint>
+
+ namespace mozilla {
+
+ template <typename>
+ struct IsPixel;
+
+ namespace gfx {
+
+
+--- a/toolkit/components/telemetry/pingsender/pingsender.cpp
++++ b/toolkit/components/telemetry/pingsender/pingsender.cpp
+@@ -1,14 +1,15 @@
+ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+ /* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+ #include <cstdlib>
++#include <cstdint>
+ #include <cstring>
+ #include <ctime>
+ #include <fstream>
+ #include <iomanip>
+ #include <string>
+ #include <vector>
+
+ #include <zlib.h>
+
+
+--- a/dom/media/webrtc/sdp/RsdparsaSdpGlue.h
+--- b/dom/media/webrtc/sdp/RsdparsaSdpGlue.h
+@@ -6,6 +6,7 @@
+ #ifndef _RUSTSDPGLUE_H_
+ #define _RUSTSDPGLUE_H_
+
++#include <cstdint>
+ #include <string>
+ #include <vector>
+ #include <utility>
diff --git a/PKGBUILD b/PKGBUILD
index b13a6b1..eed6829 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ _modpgo=0
_pkgname=firefox
pkgname=${_pkgname}-esr
-pkgver=102.9.0
+pkgver=102.11.0
_pkgver=${pkgver}esr
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
@@ -38,10 +38,10 @@ makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
wasi-compiler-rt wasi-libc wasi-libc++ wasi-libc++abi
# Use as many system python modules as possible
python-aiohttp python-appdirs python-async-timeout python-attrs
- python-cbor2 python-certifi python-chardet python-click python-colorama python-cookies python-cram
+ python-cbor2 python-certifi python-chardet python-click python-colorama python-cram
python-ecdsa
python-idna python-importlib-metadata
- python-idna_ssl python-iso8601
+ python-iso8601
python-jaraco.context python-jaraco.functools python-jsonschema
python-markupsafe python-mohawk python-more-itertools python-multidict
python-nspektr
@@ -69,10 +69,11 @@ makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
# # Arch lacks these python modules:
# python-blessings
-# python-compare-locales
+# python-compare-locales python-cookies
# python-diskcache
# python-esprima
# python-fluent.migrate python-fluent.syntax
+# python-idna_ssl
# python-Jinja2 python-jsmin python-json-e
# python-mozilla-version
# python-pip-tools
@@ -95,6 +96,7 @@ conflicts=(firefox)
provides=(firefox)
source=(
"https://archive.mozilla.org/pub/$_pkgname/releases/$_pkgver/source/$_pkgname-$_pkgver.source.tar.xz"{,.asc}
+ 0001-Add-a-few-missing-cstdint-includes.patch
zstandard-0.18.0.diff
$pkgname.desktop
identity-icons-brand.svg
@@ -109,8 +111,9 @@ source=(
arc4_remove-health-reporting.patch
arc4_remove-system-addons.patch
)
-sha512sums=('3923212ce4b7d1f589129025961ff1b380b8aaf1dd074674f3bd63cf14e9a44ff051bda556b7796c25634e153de00ce62243ece15a520f63dd0791a19b2a6685'
+sha512sums=('fdfed404c87f33001c0ab50f9899fa80c897fac645be8ed832e426f412aafbf1468b1c8301bad463b3f5535b6d6f2005a96a748b6e2d6bf5afbc3b5bc10983d6'
'SKIP'
+ '3e05c6c1c415f013c31c6ba90c593703a0017bc1057867bd3c8de308ded14f4c0a38808aae2365dda31f03cefcf10eeb3d20a9b75095bfcd698f786def348f32'
'c949cf492bc93b6f3f1f827744e0f39e555c518434c8e73e27143a769b0d123fe4ba2cae07b7b7e7b594f8da43383d4fb4cd28b6b52e0d3e7a985afbadfb3d04'
'46b76cc688099bbd4124c0b94eea45c1c43a95e1aab9ea8ff6b9c29cdefe383f7a4885f09ceef34e5e6ee2f1f589024b575352b26512feca703c68a48dc5818f'
'b579b73176c72a5ecf36e3f63bba08fdb8041ae99d54e5cab906660fed6a9cf2311f7ca1ec1649e451cc6d5a4b1e6060b974b1d7befe9c8df3c5a89c50383c17'
@@ -119,8 +122,9 @@ sha512sums=('3923212ce4b7d1f589129025961ff1b380b8aaf1dd074674f3bd63cf14e9a44ff05
'6c933ebfd683b955a3deb2f47b13f582ccd40f57e1164a0c821a65c4bc6040a1e0baf3a4aab1354c3e0ceeb4f3fab53612e54dfd0f56d320cf0a64bf3c270526'
'34b90b6033d8c6196600aa820f8d5038ef506f07a6c8b90bc1b5691c47172df8778757aa9db68116bef9ced2d5592320e6d7a47cfb20cf133ba5757739d9968d'
'e3e095eaa6427d1f8a392b16789ba51c1f13ec8a26f9128eada7fbf190ca8a47c92453e6cfd89676138869e7fdac765ff83cde01cc8b02d1de914c7eb4b1b22e')
-b2sums=('dffd3928c268562802b9d9788cc83203ca932c85758b822c344e54259d81ef84668231149f3452cec3c2bf32c654db321303bcb9f81f8ccaac477ad2499ce346'
+b2sums=('b19db1b35e6c652e2cd44ec5219bd5c42aacd55987962dbcaf50b5ec54d2ac5066290264f938ba3d45ef111779b9f27b06736ae7df11fa62478ab2179acfe723'
'SKIP'
+ '65bb23f1316b6ea93941ae68530ce4178b135bd4b502265e0cfa57262e00008837f279d2b943ec01745fc0bdb429d3efa351d7f9d84445a9f88e2a7f6f42040e'
'b66218c1388f5cb549f4084273f56cca53311bff948c041ccb09745cf483a66973b5419950d9a9df7c9813005842300e05358f4004978f3bdabecc82b946809f'
'1c3af4cc5199cf7b9f3aad9ceab98b3e8a3dc0d38f50896ed2f32ac648f1e904a1cdda5da559964885989edbfab4c4bf65448e9a0f71d946c77ec0ab5a6aff4c'
'63a8dd9d8910f9efb353bed452d8b4b2a2da435857ccee083fc0c557f8c4c1339ca593b463db320f70387a1b63f1a79e709e9d12c69520993e26d85a3d742e34'
@@ -138,6 +142,10 @@ prepare() {
# Unbreak build with python-zstandard 0.18.0
patch -Np1 -i ../zstandard-0.18.0.diff
+ # Fixes building with gcc 13
+ patch -Np1 -i ../0001-Add-a-few-missing-cstdint-includes.patch
+
+
if [ "${_modpgo}" == "1" ]; then
# Add the custom mozconfig for clang pgo
cp $srcdir/mozconfig.in.clang $srcdir/${_pkgname}-${pkgver}/.mozconfig