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

13 lines
350 B
Text

Index: toolkit/xre/glxtest/glxtest.cpp
--- toolkit/xre/glxtest/glxtest.cpp.orig
+++ toolkit/xre/glxtest/glxtest.cpp
@@ -190,6 +190,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 &&