pkgsrc/graphics/py-OpenGL/patches/patch-ac
drochner 9beda2d401 import PyOpenGL-3.0.0a6: Python bindings for OpenGL
prepered by Quentin Garnier in pkgsrc-wip
2007-07-13 15:06:09 +00:00

27 lines
681 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2007/07/13 15:06:09 drochner Exp $
--- OpenGL/platform/glx.py.orig 2007-07-12 23:07:36.000000000 +0200
+++ OpenGL/platform/glx.py
@@ -25,19 +25,19 @@ __all__ = (
GL = OpenGL = ctypesloader.loadLibrary(
ctypes.cdll,
- 'GL',
+ 'libGL.so',
mode=ctypes.RTLD_GLOBAL
)
GLU = ctypesloader.loadLibrary(
ctypes.cdll,
- 'GLU',
+ 'libGLU.so',
mode=ctypes.RTLD_GLOBAL
)
# glut shouldn't need to be global, but just in case a dependent library makes
# the same assumption GLUT does...
GLUT = ctypesloader.loadLibrary(
ctypes.cdll,
- 'glut',
+ 'libglut.so',
mode=ctypes.RTLD_GLOBAL
)
# GLX doesn't seem to have its own loadable module?