diff options
author | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2023-09-18 22:10:07 +0200 |
---|---|---|
committer | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2023-09-18 22:10:07 +0200 |
commit | 12434f9d5dfb6fca8fec491661f3ff2738cd167b (patch) | |
tree | defeeff53e0d43897f6d208960c59a0c218fb86e /www/firefox-esr/files/patch-toolkit_xre_glxtest.cpp | |
parent | www/firefox: update to 118.0 (rc1) (diff) |
www/firefox-esr: update to 115.3.0
Release Notes (soon):
https://www.mozilla.org/en-US/firefox/115.3.0/releasenotes/
Diffstat (limited to 'www/firefox-esr/files/patch-toolkit_xre_glxtest.cpp')
-rw-r--r-- | www/firefox-esr/files/patch-toolkit_xre_glxtest.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-toolkit_xre_glxtest.cpp b/www/firefox-esr/files/patch-toolkit_xre_glxtest.cpp new file mode 100644 index 000000000000..a054f2032cd2 --- /dev/null +++ b/www/firefox-esr/files/patch-toolkit_xre_glxtest.cpp @@ -0,0 +1,17 @@ +--- toolkit/xre/glxtest/glxtest.cpp.orig 2023-05-28 22:08:21.663847000 +0200 ++++ toolkit/xre/glxtest/glxtest.cpp 2023-05-28 22:09:33.647075000 +0200 +@@ -195,9 +195,14 @@ + static void get_pci_status() { + log("GLX_TEST: get_pci_status start\n"); + ++#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; + } + |