1 |
hasufell 14/04/29 23:31:25 |
2 |
|
3 |
Added: supertuxkart-0.8.1-mesa-10.x.patch |
4 |
Log: |
5 |
fix build with mesa-10.x wrt #504104 |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 games-action/supertuxkart/files/supertuxkart-0.8.1-mesa-10.x.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/supertuxkart/files/supertuxkart-0.8.1-mesa-10.x.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/supertuxkart/files/supertuxkart-0.8.1-mesa-10.x.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: supertuxkart-0.8.1-mesa-10.x.patch |
16 |
=================================================================== |
17 |
From: Julian Ospald <hasufell@g.o> |
18 |
Date: Tue Apr 29 23:28:11 UTC 2014 |
19 |
Subject: fix build with mesa-10.x |
20 |
|
21 |
--- lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h |
22 |
+++ lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h |
23 |
@@ -21,6 +21,7 @@ |
24 |
#endif |
25 |
#include <GL/gl.h> |
26 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
27 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
28 |
#include "glext.h" |
29 |
#endif |
30 |
#include "wglext.h" |
31 |
@@ -36,6 +37,7 @@ |
32 |
#endif |
33 |
#include <OpenGL/gl.h> |
34 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
35 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
36 |
#include "glext.h" |
37 |
#endif |
38 |
#elif defined(_IRR_COMPILE_WITH_SDL_DEVICE_) && !defined(_IRR_COMPILE_WITH_X11_DEVICE_) |
39 |
@@ -49,6 +51,7 @@ |
40 |
#define NO_SDL_GLEXT |
41 |
#include <SDL/SDL_video.h> |
42 |
#include <SDL/SDL_opengl.h> |
43 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
44 |
#include "glext.h" |
45 |
#else |
46 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
47 |
@@ -61,6 +64,7 @@ |
48 |
#include <GL/gl.h> |
49 |
#include <GL/glx.h> |
50 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
51 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
52 |
#include "glext.h" |
53 |
#undef GLX_ARB_get_proc_address // avoid problems with local glxext.h |
54 |
#include "glxext.h" |