ebc9069030
Mozilla Firefox is a free, open-source and cross-platform web browser for Windows, Linux, MacOS X and many other operating systems. It is fast and easy to use, and offers many advantages over other web browsers, such as tabbed browsing and the ability to block pop-up windows. Firefox also offers excellent bookmark and history management, and it can be extended by developers using industry standards such as XML, CSS, JavaScript, C++, etc. Many extensions are available. This package provides Firefox 68 ESR.
17 lines
651 B
C++
17 lines
651 B
C++
$NetBSD: patch-toolkit_xre_glxtest.cpp,v 1.1 2019/09/21 07:31:44 ryoon Exp $
|
|
|
|
Fix libGL filename on NetBSD,
|
|
see https://bugzilla.mozilla.org/show_bug.cgi?id=1180498
|
|
https://hg.mozilla.org/integration/mozilla-inbound/rev/8bcc51aaa91e
|
|
|
|
--- toolkit/xre/glxtest.cpp.orig 2019-03-07 16:53:43.000000000 +0000
|
|
+++ toolkit/xre/glxtest.cpp
|
|
@@ -116,7 +116,7 @@ void glxtest() {
|
|
"The MOZ_AVOID_OPENGL_ALTOGETHER environment variable is defined");
|
|
|
|
///// Open libGL and load needed symbols /////
|
|
-#ifdef __OpenBSD__
|
|
+#if defined(__OpenBSD__) || defined(__NetBSD__)
|
|
# define LIBGL_FILENAME "libGL.so"
|
|
#else
|
|
# define LIBGL_FILENAME "libGL.so.1"
|