From e2bd75ec8216cff942778a2e86731939fa72772e Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 20 Feb 2024 23:24:44 +0100 Subject: [PATCH] firefox: update to 123.0. --- srcpkgs/firefox/patches/musl-use-res_query.patch | 11 +++++++++++ srcpkgs/firefox/template | 16 ++-------------- 2 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 srcpkgs/firefox/patches/musl-use-res_query.patch diff --git a/srcpkgs/firefox/patches/musl-use-res_query.patch b/srcpkgs/firefox/patches/musl-use-res_query.patch new file mode 100644 index 00000000000..77924d4d2ab --- /dev/null +++ b/srcpkgs/firefox/patches/musl-use-res_query.patch @@ -0,0 +1,11 @@ +--- a/netwerk/dns/PlatformDNSUnix.cpp ++++ b/netwerk/dns/PlatformDNSUnix.cpp +@@ -32,7 +32,7 @@ + rv = packet.FillBuffer( + [&](unsigned char response[DNSPacket::MAX_SIZE]) -> int { + int len = 0; +-#if defined(XP_LINUX) ++#if defined(XP_LINUX) && defined(__GLIBC__) + len = res_nquery(&_res, host.get(), ns_c_in, + nsIDNSService::RESOLVE_TYPE_HTTPSSVC, response, + DNSPacket::MAX_SIZE); diff --git a/srcpkgs/firefox/template b/srcpkgs/firefox/template index 0cca0ac17ab..200ab3dcf4a 100644 --- a/srcpkgs/firefox/template +++ b/srcpkgs/firefox/template @@ -3,7 +3,7 @@ # THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-i18n". # pkgname=firefox -version=122.0 +version=123.0 revision=1 build_helper="rust" short_desc="Mozilla Firefox web browser" @@ -11,7 +11,7 @@ maintainer="Duncaen " license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://www.mozilla.org/firefox/" distfiles="${MOZILLA_SITE}/firefox/releases/${version/beta/b}/source/firefox-${version/beta/b}.source.tar.xz" -checksum=b84815a90e147965e4c0b50599c85b1022ab0fce42105e5ef45c630dcca5dec3 +checksum=9e885abdaddb14cd4f313c1575282fec6af5901f445e9744fe24e2ea837d4cb7 lib32disabled=yes @@ -79,11 +79,7 @@ do_build() { #!/bin/sh exec clang \ --target="${XBPS_CROSS_TRIPLET}" \ - --gcc-toolchain=/usr \ --sysroot="${XBPS_CROSS_BASE}" \ - -nostdinc \ - -isystem "${XBPS_CROSS_BASE}/usr/include" \ - -isystem "/usr/lib/clang/${clang_version}/include" \ "\$@" ! @@ -91,15 +87,7 @@ do_build() { #!/bin/sh exec clang++ \ --target="${XBPS_CROSS_TRIPLET}" \ - --gcc-toolchain=/usr \ --sysroot="${XBPS_CROSS_BASE}" \ - -nostdinc++ \ - -isystem "${XBPS_CROSS_BASE}/usr/include/c++/${gcc_version%.*}" \ - -isystem "${XBPS_CROSS_BASE}/usr/include/c++/${gcc_version%.*}/${XBPS_CROSS_TRIPLET}" \ - -isystem "${XBPS_CROSS_BASE}/usr/include/c++/${gcc_version%.*}/backward" \ - -nostdinc \ - -isystem "${XBPS_CROSS_BASE}/usr/include" \ - -isystem "/usr/lib/clang/${clang_version}/include" \ "\$@" !