pkgsrc/mail/thunderbird68/patches/patch-gfx_gl_GLContextProviderGLX.cpp
ryoon 4aea1c42a6 mail/thunderbird68: import thunderbird68-68.12.0
Thunderbird is a free email, news, and chat application with support for
add-ons, derived from the Mozilla Firefox web browser.
2020-09-03 20:22:25 +00:00

15 lines
544 B
C++

$NetBSD: patch-gfx_gl_GLContextProviderGLX.cpp,v 1.1 2020/09/03 20:22:26 ryoon Exp $
Pick portable version of libGL.so.
--- gfx/gl/GLContextProviderGLX.cpp.orig 2019-09-09 23:43:27.000000000 +0000
+++ gfx/gl/GLContextProviderGLX.cpp
@@ -80,7 +80,7 @@ bool GLXLibrary::EnsureInitialized() {
// which trigger glibc bug
// http://sourceware.org/bugzilla/show_bug.cgi?id=12225
const char* libGLfilename = "libGL.so.1";
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) || defined(__NetBSD__)
libGLfilename = "libGL.so";
#endif