summaryrefslogtreecommitdiff
path: root/www/seamonkey/patches/patch-mozilla_toolkit_xre_glxtest.cpp
blob: d65e0f36b19f292b0469add3647f6013504a8bcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-mozilla_toolkit_xre_glxtest.cpp,v 1.3 2021/02/08 12:26:20 ryoon Exp $

--- toolkit/xre/glxtest.cpp.orig	2020-02-17 23:39:44.000000000 +0000
+++ toolkit/xre/glxtest.cpp
@@ -124,7 +124,7 @@ void glxtest()
     fatal_error("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"