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

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