openbsd-ports/www/firefox36/patches/patch-content_canvas_src_nsGLPbufferOSMesa_cpp

13 lines
856 B
Plaintext
Raw Normal View History

$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"));