aboutsummaryrefslogtreecommitdiffstats
path: root/community/irrlicht/irrlicht-1.8.3-mesa-10.x.patch
diff options
context:
space:
mode:
authorxming <xmingske@gmail.com>2015-11-09 13:04:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-10 15:44:32 +0000
commit7a6e9c8c2a7546836e8e058edb72429bf55a8712 (patch)
tree6c76a18d0c8bdd8eacf6831e4c99d669a82ce7b4 /community/irrlicht/irrlicht-1.8.3-mesa-10.x.patch
parent5b67e37dc287beb837796825db5994fbe85b7e13 (diff)
downloadaports-7a6e9c8c2a7546836e8e058edb72429bf55a8712.tar.bz2
aports-7a6e9c8c2a7546836e8e058edb72429bf55a8712.tar.xz
community/irrlicht
updated to 1.8.3 with gcc5.x fixes
Diffstat (limited to 'community/irrlicht/irrlicht-1.8.3-mesa-10.x.patch')
-rw-r--r--community/irrlicht/irrlicht-1.8.3-mesa-10.x.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/irrlicht/irrlicht-1.8.3-mesa-10.x.patch b/community/irrlicht/irrlicht-1.8.3-mesa-10.x.patch
new file mode 100644
index 0000000000..e90ff36443
--- /dev/null
+++ b/community/irrlicht/irrlicht-1.8.3-mesa-10.x.patch
@@ -0,0 +1,40 @@
+From 244d00280c1b082ca164f92337773e9e4e1a3898 Mon Sep 17 00:00:00 2001
+From: hiker <henrichsjoerg@mgail.com>
+Date: Wed, 26 Feb 2014 11:13:03 +1100
+Subject: [PATCH] Applied patch from jpirie for fixing mesa 10 compilation
+ problems.
+
+--- irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h
++++ irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h
+@@ -21,6 +21,7 @@
+ #endif
+ #include <GL/gl.h>
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+ #include "glext.h"
+ #endif
+ #include "wglext.h"
+@@ -35,6 +36,7 @@
+ #endif
+ #include <OpenGL/gl.h>
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+ #include "glext.h"
+ #endif
+ #elif defined(_IRR_COMPILE_WITH_SDL_DEVICE_) && !defined(_IRR_COMPILE_WITH_X11_DEVICE_)
+@@ -48,6 +50,7 @@
+ #define NO_SDL_GLEXT
+ #include <SDL/SDL_video.h>
+ #include <SDL/SDL_opengl.h>
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+ #include "glext.h"
+ #else
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
+@@ -60,6 +63,7 @@
+ #include <GL/gl.h>
+ #include <GL/glx.h>
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+ #include "glext.h"
+ #undef GLX_ARB_get_proc_address // avoid problems with local glxext.h
+ #include "glxext.h"