summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-06-12 23:38:03 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-06-12 23:38:03 +0000
commit842f1cf8d08856453b370dd8c1591772a077fe9e (patch)
tree93236917e88d10365da88bc35dc006ae996e64fc /dev-games/clanlib/files
parentversion bump (diff)
downloadgentoo-2-842f1cf8d08856453b370dd8c1591772a077fe9e.tar.gz
gentoo-2-842f1cf8d08856453b370dd8c1591772a077fe9e.tar.bz2
gentoo-2-842f1cf8d08856453b370dd8c1591772a077fe9e.zip
Patch for gcc-4.2
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-games/clanlib/files')
-rw-r--r--dev-games/clanlib/files/clanlib-0.8.0-gcc42.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-games/clanlib/files/clanlib-0.8.0-gcc42.patch b/dev-games/clanlib/files/clanlib-0.8.0-gcc42.patch
new file mode 100644
index 000000000000..bd5274ab4098
--- /dev/null
+++ b/dev-games/clanlib/files/clanlib-0.8.0-gcc42.patch
@@ -0,0 +1,11 @@
+--- Sources/API/GL/opengl_wrap.h
++++ Sources/API/GL/opengl_wrap.h
+@@ -2530,7 +2530,7 @@
+ typedef CLuint (CL_GLFUNC *ptr_glCreateShaderObjectARB )(CLenum shaderType);
+ typedef CLvoid (CL_GLFUNC *ptr_glShaderSourceARB)(CLuint shaderObj, CLsizei count, const CLchar* *string, const CLint *length);
+ typedef CLvoid (CL_GLFUNC *ptr_glCompileShaderARB)(CLuint shaderObj);
+- typedef CLuint (CL_GLFUNC *ptr_glCreateProgramObjectARB)(CLvoid);
++ typedef CLuint (CL_GLFUNC *ptr_glCreateProgramObjectARB)(void);
+ typedef CLvoid (CL_GLFUNC *ptr_glAttachObjectARB)(CLuint containerObj, CLuint attachedObj);
+ typedef CLvoid (CL_GLFUNC *ptr_glLinkProgramARB)(CLuint programObj);
+ typedef CLvoid (CL_GLFUNC *ptr_glUseProgramObjectARB)(CLuint programObj);