openbsd-ports/www/firefox36/patches/patch-content_canvas_src_nsGLPbufferOSMesa_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

13 lines
856 B
Plaintext

$OpenBSD: patch-content_canvas_src_nsGLPbufferOSMesa_cpp,v 1.3 2011/03/26 10:58:36 landry Exp $
--- content/canvas/src/nsGLPbufferOSMesa.cpp.orig Thu Jan 21 05:29:57 2010
+++ content/canvas/src/nsGLPbufferOSMesa.cpp Thu Jan 21 13:57:03 2010
@@ -110,7 +110,7 @@ nsGLPbufferOSMESA::Init(nsCanvasRenderingContextGLPriv
rv |= libfile->Append(NS_LITERAL_STRING("libOSMesa.7.dylib"));
#elif defined(XP_UNIX)
rv |= libfile->Append(NS_LITERAL_STRING("Linux"));
- rv |= libfile->Append(NS_LITERAL_STRING("libOSMesa.so.7"));
+ rv |= libfile->Append(NS_LITERAL_STRING("libOSMesa.so"));
#else
#warning No default osmesa library path available
LogMessage(NS_LITERAL_STRING("Canvas 3D: No default OSMesa lib path available -- please set the extensions.canvas3d.osmesalib pref to the full path to the OSMesa shared library"));