ports/www/firefox-esr/patches/patch-toolkit_xre_glxtest_glxtest_cpp

14 lines
350 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: toolkit/xre/glxtest/glxtest.cpp
--- toolkit/xre/glxtest/glxtest.cpp.orig
+++ toolkit/xre/glxtest/glxtest.cpp
@@ -193,6 +193,9 @@ extern "C" {
#define PCI_BASE_CLASS_DISPLAY 0x03
static void get_pci_status() {
+#ifdef __OpenBSD__
+ return;
+#endif
log("GLX_TEST: get_pci_status start\n");
if (access("/sys/bus/pci/", F_OK) != 0 &&