www/firefox: update to 109.0 (rc2)

Release Notes (soon):
  https://www.mozilla.org/en-US/firefox/109.0/releasenotes/

(cherry picked from commit b7f9ad7999)
This commit is contained in:
Christoph Moench-Tegeder 2023-01-13 12:26:51 +01:00
parent b2bcac5bf9
commit 9ba65a6001
3 changed files with 22 additions and 4 deletions

View File

@ -1,9 +1,10 @@
PORTNAME= firefox
DISTVERSION= 109.0
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= www wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build1/source
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build2/source
DISTFILES= ${DISTNAME}.source${EXTRACT_SUFX}
MAINTAINER= gecko@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1673297409
SHA256 (firefox-109.0.source.tar.xz) = 892237fdead5da1ee15e98d383f5cd0cf0cfa5590ee5156f63c486abacc42291
SIZE (firefox-109.0.source.tar.xz) = 499318384
TIMESTAMP = 1673601389
SHA256 (firefox-109.0.source.tar.xz) = 0678a03b572b5992fb85f0923a25b236acf81e5ea2c08e549b63a56076a69351
SIZE (firefox-109.0.source.tar.xz) = 493231972

View File

@ -0,0 +1,17 @@
--- toolkit/xre/glxtest.cpp.orig
+++ toolkit/xre/glxtest.cpp
@@ -270,9 +270,14 @@
#define PCI_BASE_CLASS_DISPLAY 0x03
static void get_pci_status() {
+#if defined(__FreeBSD__)
+ if (access("/dev/pci", F_OK) != 0) {
+ record_warning("cannot access /dev/pci");
+#else
if (access("/sys/bus/pci/", F_OK) != 0 &&
access("/sys/bus/pci_express/", F_OK) != 0) {
record_warning("cannot access /sys/bus/pci");
+#endif
return;
}