aboutsummaryrefslogtreecommitdiff
path: root/libraries/irrlicht/irrlicht-1.8.1-mesa10.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-10-16 13:56:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-16 23:27:30 +0700
commit6776d56b59b92271d396aee55a54f52c9ba3cf6c (patch)
treeb3531f8d7ba01d18bae1a41c58a21ea664cffffd /libraries/irrlicht/irrlicht-1.8.1-mesa10.patch
parent83c83a425a46e96d6f2e5d12ae2cac95f7b69578 (diff)
libraries/irrlicht: Updated for version 1.8.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/irrlicht/irrlicht-1.8.1-mesa10.patch')
-rw-r--r--libraries/irrlicht/irrlicht-1.8.1-mesa10.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/libraries/irrlicht/irrlicht-1.8.1-mesa10.patch b/libraries/irrlicht/irrlicht-1.8.1-mesa10.patch
new file mode 100644
index 0000000000000..ca8e4a7614adf
--- /dev/null
+++ b/libraries/irrlicht/irrlicht-1.8.1-mesa10.patch
@@ -0,0 +1,26 @@
+diff -up irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h.mesa10 irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h
+--- irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h.mesa10 2013-12-13 23:05:43.208343706 -0500
++++ irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h 2013-12-13 23:05:43.213343691 -0500
+@@ -59,6 +59,9 @@
+ #endif
+ #include <GL/gl.h>
+ #include <GL/glx.h>
++ #ifndef PFNGLBLENDEQUATIONPROC
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
++ #endif
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
+ #include <GL/glext.h>
+ typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
+diff -up irrlicht-1.8.1/source/Irrlicht/glxext.h.mesa10 irrlicht-1.8.1/source/Irrlicht/glxext.h
+--- irrlicht-1.8.1/source/Irrlicht/glxext.h.mesa10 2013-12-30 12:18:38.368368241 -0500
++++ irrlicht-1.8.1/source/Irrlicht/glxext.h 2013-12-30 12:18:54.305386790 -0500
+@@ -44,6 +44,9 @@ extern "C" {
+ #ifndef GLAPI
+ #define GLAPI extern
+ #endif
++#ifndef GLXContextID
++#define GLXContextID XID
++#endif
+
+ /*************************************************************/
+