mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
firefox: update to 125.0.1.
This commit is contained in:
parent
f927949a16
commit
fca94e00c7
3 changed files with 2 additions and 43 deletions
|
@ -1,25 +0,0 @@
|
||||||
Enable FLAC on platforms without ffvpx like powerpc*
|
|
||||||
|
|
||||||
diff --git dom/media/flac/FlacDecoder.cpp dom/media/flac/FlacDecoder.cpp
|
|
||||||
index 53fc3c9937f7..b23771ab80fa 100644
|
|
||||||
--- a/dom/media/flac/FlacDecoder.cpp
|
|
||||||
+++ b/dom/media/flac/FlacDecoder.cpp
|
|
||||||
@@ -7,6 +7,7 @@
|
|
||||||
#include "FlacDecoder.h"
|
|
||||||
#include "MediaContainerType.h"
|
|
||||||
#include "mozilla/StaticPrefs_media.h"
|
|
||||||
+#include "PDMFactory.h"
|
|
||||||
|
|
||||||
namespace mozilla {
|
|
||||||
|
|
||||||
@@ -14,6 +15,10 @@ namespace mozilla {
|
|
||||||
bool FlacDecoder::IsEnabled() {
|
|
||||||
#ifdef MOZ_FFVPX
|
|
||||||
return StaticPrefs::media_flac_enabled();
|
|
||||||
+#elif defined(MOZ_FFMPEG)
|
|
||||||
+ RefPtr<PDMFactory> platform = new PDMFactory();
|
|
||||||
+ return StaticPrefs::media_flac_enabled() &&
|
|
||||||
+ platform->SupportsMimeType("audio/flac"_ns) != media::DecodeSupport::Unsupported;
|
|
||||||
#else
|
|
||||||
// Until bug 1295886 is fixed.
|
|
||||||
return false;
|
|
|
@ -1,16 +0,0 @@
|
||||||
--- a/netwerk/dns/PlatformDNSUnix.cpp
|
|
||||||
+++ b/netwerk/dns/PlatformDNSUnix.cpp
|
|
||||||
@@ -32,11 +32,11 @@
|
|
||||||
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);
|
|
||||||
-#elif defined(XP_MACOSX)
|
|
||||||
+#elif defined(XP_MACOSX) || defined(XP_LINUX)
|
|
||||||
len =
|
|
||||||
res_query(host.get(), ns_c_in, nsIDNSService::RESOLVE_TYPE_HTTPSSVC,
|
|
||||||
response, DNSPacket::MAX_SIZE);
|
|
|
@ -3,7 +3,7 @@
|
||||||
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-i18n".
|
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-i18n".
|
||||||
#
|
#
|
||||||
pkgname=firefox
|
pkgname=firefox
|
||||||
version=124.0.1
|
version=125.0.1
|
||||||
revision=1
|
revision=1
|
||||||
build_helper="rust"
|
build_helper="rust"
|
||||||
short_desc="Mozilla Firefox web browser"
|
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"
|
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://www.mozilla.org/firefox/"
|
homepage="https://www.mozilla.org/firefox/"
|
||||||
distfiles="${MOZILLA_SITE}/firefox/releases/${version/beta/b}/source/firefox-${version/beta/b}.source.tar.xz"
|
distfiles="${MOZILLA_SITE}/firefox/releases/${version/beta/b}/source/firefox-${version/beta/b}.source.tar.xz"
|
||||||
checksum=ddac16aea855e057ff6be3c143f7155cc20f452e1f45eb6288ff27e9346ab843
|
checksum=274ff2ec60811b03fcd856c3aa4bd3212fa0aaacda0766430c2562432441cd10
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue