openbsd-ports/www/firefox36/patches/patch-content_canvas_src_nsGLPbufferGLX_cpp
landry 17b63192b8 Resurrect www/firefox36 from the Attic, installing 3.6.16 in
${LOCALBASE}/firefox36 with firefox36 binary. Needed for archs
firefox 4 doesn't support (yet?). Yes, i'm looking at you sparc64.
Not yet linked to the build.
2011-03-26 10:58:36 +00:00

26 lines
1.1 KiB
Plaintext

$OpenBSD: patch-content_canvas_src_nsGLPbufferGLX_cpp,v 1.3 2011/03/26 10:58:36 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;
}