Blame otp-0007-Fix-for-dlopening-libGL-and-libGLU.patch

Peter Lemenkov d45236
From 6ffccff36e0d94cba0412cf3a29769b4a19d3be3 Mon Sep 17 00:00:00 2001
Peter Lemenkov d45236
From: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov d45236
Date: Fri, 16 Apr 2010 21:13:47 +0400
Peter Lemenkov d45236
Subject: [PATCH 7/9] Fix for dlopening libGL and libGLU
Peter Lemenkov d45236
Peter Lemenkov d45236
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov d45236
---
Peter Lemenkov d45236
 lib/wx/c_src/wxe_gl.cpp |    4 ++--
Peter Lemenkov d45236
 1 files changed, 2 insertions(+), 2 deletions(-)
Peter Lemenkov d45236
Peter Lemenkov d45236
diff --git a/lib/wx/c_src/wxe_gl.cpp b/lib/wx/c_src/wxe_gl.cpp
Peter Lemenkov d45236
index 63dd68f..36bf15f 100644
Peter Lemenkov d45236
--- a/lib/wx/c_src/wxe_gl.cpp
Peter Lemenkov d45236
+++ b/lib/wx/c_src/wxe_gl.cpp
Peter Lemenkov d45236
@@ -81,7 +81,7 @@ int initOpenGL()
Peter Lemenkov d45236
   WCHAR * DLName = wxT("opengl32.dll");
Peter Lemenkov d45236
   HMODULE LIBhandle = LoadLibrary(DLName);
Peter Lemenkov d45236
 #else 
Peter Lemenkov d45236
-  char * DLName = (char *) "libGL.so";
Peter Lemenkov d45236
+  char * DLName = (char *) "libGL.so.1";
Peter Lemenkov d45236
   void * LIBhandle = dlopen(DLName, RTLD_LAZY);
Peter Lemenkov d45236
 #endif
Peter Lemenkov d45236
   // fprintf(stderr, "Loading GL: %s\r\n", (const char*)DLName);
Peter Lemenkov d45236
@@ -132,7 +132,7 @@ int initOpenGL()
Peter Lemenkov d45236
   DLName = wxT("glu32.dll");
Peter Lemenkov d45236
   LIBhandle = LoadLibrary(DLName);
Peter Lemenkov d45236
 #else 
Peter Lemenkov d45236
-  DLName = (char *) "libGLU.so";
Peter Lemenkov d45236
+  DLName = (char *) "libGLU.so.1";
Peter Lemenkov d45236
   LIBhandle = dlopen(DLName, RTLD_LAZY);
Peter Lemenkov d45236
 #endif
Peter Lemenkov d45236
   // fprintf(stderr, "Loading GL: %s\r\n", (const char*)DLName);
Peter Lemenkov d45236
-- 
Peter Lemenkov d45236
1.6.6.1
Peter Lemenkov d45236