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

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