firefox: update to 91.0, rebuild for icu-69.1

This commit is contained in:
Duncaen 2021-08-10 14:12:22 +02:00
parent 021e7c827b
commit fb48ad119e
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
2 changed files with 22 additions and 3 deletions

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-config_makefiles_rust_mk,v 1.6 2021/01/26 15:52:58 landry Exp $
use lto=thin to reduce memory pressure when building gkrust
https://bugzilla.mozilla.org/show_bug.cgi?id=1644409
https://bugzilla.mozilla.org/show_bug.cgi?id=1640982
Index: config/makefiles/rust.mk
--- a/config/makefiles/rust.mk.orig
+++ a/config/makefiles/rust.mk
@@ -70,7 +70,8 @@ ifndef MOZ_DEBUG_RUST
# gkrust_gtest. And not when doing cross-language LTO.
ifndef MOZ_LTO_RUST_CROSS
ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
-cargo_rustc_flags += -Clto
+cargo_rustc_flags += -Clto=thin
+export CARGO_PROFILE_RELEASE_LTO=thin
endif
# We need -Cembed-bitcode=yes for all crates when using -Clto.
RUSTFLAGS += -Cembed-bitcode=yes

View File

@ -3,15 +3,15 @@
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-i18n".
#
pkgname=firefox
version=90.0.1
version=91.0
revision=1
build_helper="rust"
short_desc="Mozilla Firefox web browser"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.mozilla.org/firefox/"
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz"
checksum=85796ca5857e2196c8722719423d3f164396efdefb2988d3efd6d5c399dc0a87
checksum=2a4d1f788ab77f68380d4e6ab0b36bd1efd1a4ac9e9c6d10e39377894c077901
lib32disabled=yes