summaryrefslogtreecommitdiff
path: root/graphics/py-OpenGL/patches/patch-ac
blob: e8022313d03442ce2aafc710b9127eb2ff3bc62f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-ac,v 1.3 2010/05/20 11:15:17 drochner Exp $

--- OpenGL/platform/glx.py.orig	2009-11-25 20:08:32.000000000 +0000
+++ OpenGL/platform/glx.py
@@ -13,7 +13,7 @@ class GLXPlatform( baseplatform.BasePlat
     try:
         GL = OpenGL = ctypesloader.loadLibrary(
             ctypes.cdll,
-            'GL', 
+            'libGL.so', 
             mode=ctypes.RTLD_GLOBAL 
         )
     except OSError, err:
@@ -21,7 +21,7 @@ class GLXPlatform( baseplatform.BasePlat
     try:
         GLU = ctypesloader.loadLibrary(
             ctypes.cdll,
-            'GLU',
+            'libGLU.so',
             mode=ctypes.RTLD_GLOBAL 
         )
     except OSError, err:
@@ -31,7 +31,7 @@ class GLXPlatform( baseplatform.BasePlat
     try:
         GLUT = ctypesloader.loadLibrary(
             ctypes.cdll,
-            'glut', 
+            'libglut.so', 
             mode=ctypes.RTLD_GLOBAL 
         )
     except OSError, err:
@@ -44,7 +44,7 @@ class GLXPlatform( baseplatform.BasePlat
     try:
         GLE = ctypesloader.loadLibrary(
             ctypes.cdll,
-            'gle', 
+            'libgle.so', 
             mode=ctypes.RTLD_GLOBAL 
         )
     except OSError, err: