aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-07-23 01:48:34 +0800
committeralepulver <alepulver@FreeBSD.org>2007-07-23 01:48:34 +0800
commit7939722baa0c52d040098ad25fe86ee75c6c876a (patch)
tree168469b48ac206b2d53ed8cb06164c54d2566cd2
parentcdb3823543b9f8c69cfc9d324c61f2a2428bfa60 (diff)
downloadfreebsd-ports-gnome-7939722baa0c52d040098ad25fe86ee75c6c876a.tar.gz
freebsd-ports-gnome-7939722baa0c52d040098ad25fe86ee75c6c876a.tar.zst
freebsd-ports-gnome-7939722baa0c52d040098ad25fe86ee75c6c876a.zip
- Fix building with GCC 4.x.
Reported by: pav
-rw-r--r--games/gtkradiant/files/patch-include__igl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/gtkradiant/files/patch-include__igl.h b/games/gtkradiant/files/patch-include__igl.h
new file mode 100644
index 000000000000..89c8c76c4c62
--- /dev/null
+++ b/games/gtkradiant/files/patch-include__igl.h
@@ -0,0 +1,11 @@
+--- include/igl.h.orig Fri Feb 10 19:01:20 2006
++++ include/igl.h Sun Jul 22 14:31:40 2007
+@@ -2643,7 +2643,7 @@
+ GLhandleARB (QGL_DLLEXPORT *m_glCreateShaderObjectARB)(GLenum shaderType);
+ void (QGL_DLLEXPORT *m_glShaderSourceARB)(GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
+ void (QGL_DLLEXPORT *m_glCompileShaderARB)(GLhandleARB shaderObj);
+- GLhandleARB (QGL_DLLEXPORT *m_glCreateProgramObjectARB)(GLvoid);
++ GLhandleARB (QGL_DLLEXPORT *m_glCreateProgramObjectARB)(void);
+ void (QGL_DLLEXPORT *m_glAttachObjectARB)(GLhandleARB containerObj, GLhandleARB obj);
+ void (QGL_DLLEXPORT *m_glLinkProgramARB)(GLhandleARB programObj);
+ void (QGL_DLLEXPORT *m_glUseProgramObjectARB)(GLhandleARB programObj);