firefox: update to 123.0.

This commit is contained in:
Duncaen 2024-02-20 23:24:44 +01:00 committed by Duncan Overbruck
parent 74087ca418
commit e2bd75ec82
2 changed files with 13 additions and 14 deletions

View File

@ -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);

View File

@ -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 <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}/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" \
"\$@"
!