summaryrefslogtreecommitdiff
path: root/graphics/py-opengl/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-opengl/files')
-rw-r--r--graphics/py-opengl/files/patch-ab4
-rw-r--r--graphics/py-opengl/files/patch-ae11
2 files changed, 2 insertions, 13 deletions
diff --git a/graphics/py-opengl/files/patch-ab b/graphics/py-opengl/files/patch-ab
index ba09ad72c8a6..24a6d69c8f84 100644
--- a/graphics/py-opengl/files/patch-ab
+++ b/graphics/py-opengl/files/patch-ab
@@ -4,8 +4,8 @@
gl_libs = ["GL","X11","Xext"] # some Mesa versions need X11 here
glu_libs = ["GLU"] + gl_libs
glut_libs = ["glut","Xi","Xmu"] + glu_libs # + ['cvt'] SGI IRIX6
-- include_dirs = ["src","/usr/local/include","/usr/X11/include","/usr/include"]
-- gl_lib_dirs = ["/usr/local/lib","/usr/X11/lib","/usr/lib"]
+- include_dirs = ["src","/usr/local/include","/usr/X11/include","/usr/X11R6/include","/usr/include"]
+- gl_lib_dirs = ["/usr/local/lib","/usr/X11/lib","/usr/X11R6/lib","/usr/lib"]
+ include_dirs = ["src","%%LOCALBASE%%/include","%%X11BASE%%/include","/usr/include"]
+ gl_lib_dirs = ["%%LOCALBASE%%/lib","%%X11BASE%%/lib","/usr/lib"]
# special case for IRIX #########
diff --git a/graphics/py-opengl/files/patch-ae b/graphics/py-opengl/files/patch-ae
deleted file mode 100644
index 2fa58b82abf2..000000000000
--- a/graphics/py-opengl/files/patch-ae
+++ /dev/null
@@ -1,11 +0,0 @@
---- py/Demo/dek/OglSurface/NumericPDB.py 2000/12/04 21:16:08 1.1
-+++ py/Demo/dek/OglSurface/NumericPDB.py 2000/12/04 21:16:33
-@@ -90,7 +90,7 @@
- z = string.atof(string.strip(line[47:54]))
-
- self.records.append(PDBRecord(type, anum, atom, residue, chain, rnum))
-- self.crds.append(x,y,z)
-+ self.crds.append((x,y,z))
-
-
- self.crds = Numeric.array(self.crds)