openbsd-ports/www/mozilla-firefox/patches/patch-content_canvas_src_nsGLPbufferGLX_cpp
landry ad076fd40f Update www/mozilla-firefox from 3.0.19 to 3.6.3, merging the wip done in
www/firefox36 mostly by martynas@ and naddy@.
Note that the java plugin from devel/jdk currently doesn't work with this
version of firefox, in the meantime users really needed it will have to
use www/firefox35.
ok naddy@
2010-04-26 19:55:58 +00:00

26 lines
1.1 KiB
Plaintext

$OpenBSD: patch-content_canvas_src_nsGLPbufferGLX_cpp,v 1.1 2010/04/26 19:55:58 landry Exp $
--- content/canvas/src/nsGLPbufferGLX.cpp.orig Thu Jan 21 05:29:57 2010
+++ content/canvas/src/nsGLPbufferGLX.cpp Thu Jan 21 13:57:30 2010
@@ -132,8 +132,8 @@ nsGLPbufferGLX::Init(nsCanvasRenderingContextGLPrivate
nsresult rv;
const char *s;
- if (!gGLXWrap.OpenLibrary("libGL.so.1")) {
- LogMessage(NS_LITERAL_CSTRING("Canvas 3D: Couldn't find libGL.so.1"));
+ if (!gGLXWrap.OpenLibrary("libGL.so")) {
+ LogMessage(NS_LITERAL_CSTRING("Canvas 3D: Couldn't find libGL.so"));
return PR_FALSE;
}
@@ -218,8 +218,8 @@ nsGLPbufferGLX::Init(nsCanvasRenderingContextGLPrivate
fprintf (stderr, "nsGLPbufferGLX::Init!\n");
- if (!mGLWrap.OpenLibrary("libGL.so.1")) {
- LogMessage(NS_LITERAL_CSTRING("Canvas 3D: GLWrap init failed, couldn't find libGL.so.1"));
+ if (!mGLWrap.OpenLibrary("libGL.so")) {
+ LogMessage(NS_LITERAL_CSTRING("Canvas 3D: GLWrap init failed, couldn't find libGL.so"));
return PR_FALSE;
}