1 |
hasufell 14/04/29 23:20:15 |
2 |
|
3 |
Added: irrlicht-1.8-mesa-10.x.patch |
4 |
irrlicht-1.8.1-mesa-10.x.patch |
5 |
Log: |
6 |
fix build with mesa-10.x wrt #496356 |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 dev-games/irrlicht/files/irrlicht-1.8-mesa-10.x.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/irrlicht/files/irrlicht-1.8-mesa-10.x.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/irrlicht/files/irrlicht-1.8-mesa-10.x.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: irrlicht-1.8-mesa-10.x.patch |
17 |
=================================================================== |
18 |
From 244d00280c1b082ca164f92337773e9e4e1a3898 Mon Sep 17 00:00:00 2001 |
19 |
From: hiker <henrichsjoerg@×××××.com> |
20 |
Date: Wed, 26 Feb 2014 11:13:03 +1100 |
21 |
Subject: [PATCH] Applied patch from jpirie for fixing mesa 10 compilation |
22 |
problems. |
23 |
|
24 |
--- irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h |
25 |
+++ irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h |
26 |
@@ -21,6 +21,7 @@ |
27 |
#endif |
28 |
#include <GL/gl.h> |
29 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
30 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
31 |
#include "glext.h" |
32 |
#endif |
33 |
#include "wglext.h" |
34 |
@@ -35,6 +36,7 @@ |
35 |
#endif |
36 |
#include <OpenGL/gl.h> |
37 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
38 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
39 |
#include "glext.h" |
40 |
#endif |
41 |
#elif defined(_IRR_COMPILE_WITH_SDL_DEVICE_) && !defined(_IRR_COMPILE_WITH_X11_DEVICE_) |
42 |
@@ -48,6 +50,7 @@ |
43 |
#define NO_SDL_GLEXT |
44 |
#include <SDL/SDL_video.h> |
45 |
#include <SDL/SDL_opengl.h> |
46 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
47 |
#include "glext.h" |
48 |
#else |
49 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
50 |
@@ -60,6 +63,7 @@ |
51 |
#include <GL/gl.h> |
52 |
#include <GL/glx.h> |
53 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
54 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
55 |
#include "glext.h" |
56 |
#undef GLX_ARB_get_proc_address // avoid problems with local glxext.h |
57 |
#include "glxext.h" |
58 |
|
59 |
|
60 |
|
61 |
1.1 dev-games/irrlicht/files/irrlicht-1.8.1-mesa-10.x.patch |
62 |
|
63 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/irrlicht/files/irrlicht-1.8.1-mesa-10.x.patch?rev=1.1&view=markup |
64 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/irrlicht/files/irrlicht-1.8.1-mesa-10.x.patch?rev=1.1&content-type=text/plain |
65 |
|
66 |
Index: irrlicht-1.8.1-mesa-10.x.patch |
67 |
=================================================================== |
68 |
From 244d00280c1b082ca164f92337773e9e4e1a3898 Mon Sep 17 00:00:00 2001 |
69 |
From: hiker <henrichsjoerg@×××××.com> |
70 |
Date: Wed, 26 Feb 2014 11:13:03 +1100 |
71 |
Subject: [PATCH] Applied patch from jpirie for fixing mesa 10 compilation |
72 |
problems. |
73 |
|
74 |
--- irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h |
75 |
+++ irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h |
76 |
@@ -21,6 +21,7 @@ |
77 |
#endif |
78 |
#include <GL/gl.h> |
79 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
80 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
81 |
#include "glext.h" |
82 |
#endif |
83 |
#include "wglext.h" |
84 |
@@ -35,6 +36,7 @@ |
85 |
#endif |
86 |
#include <OpenGL/gl.h> |
87 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
88 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
89 |
#include "glext.h" |
90 |
#endif |
91 |
#elif defined(_IRR_COMPILE_WITH_SDL_DEVICE_) && !defined(_IRR_COMPILE_WITH_X11_DEVICE_) |
92 |
@@ -48,6 +50,7 @@ |
93 |
#define NO_SDL_GLEXT |
94 |
#include <SDL/SDL_video.h> |
95 |
#include <SDL/SDL_opengl.h> |
96 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
97 |
#include "glext.h" |
98 |
#else |
99 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
100 |
@@ -60,6 +63,7 @@ |
101 |
#include <GL/gl.h> |
102 |
#include <GL/glx.h> |
103 |
#if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
104 |
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
105 |
#include "glext.h" |
106 |
#undef GLX_ARB_get_proc_address // avoid problems with local glxext.h |
107 |
#include "glxext.h" |