aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libva-vdpau-driver/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-11-12 22:55:21 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-12-29 10:06:48 +0000
commitdd2294531945209dce5e7fdddcb8ec9e1dee32f3 (patch)
tree8c0c30880c4e4dac6622080d1e685f2bdc5dc63a /testing/libva-vdpau-driver/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
parent4734a46f4da3ed14432558a4e22f09b03e452be7 (diff)
downloadaports-dd2294531945209dce5e7fdddcb8ec9e1dee32f3.tar.bz2
aports-dd2294531945209dce5e7fdddcb8ec9e1dee32f3.tar.xz
testing/libva-vdpau-driver: new aport
Diffstat (limited to 'testing/libva-vdpau-driver/libva-vdpau-driver-0.7.4-glext-missing-definition.patch')
-rw-r--r--testing/libva-vdpau-driver/libva-vdpau-driver-0.7.4-glext-missing-definition.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/libva-vdpau-driver/libva-vdpau-driver-0.7.4-glext-missing-definition.patch b/testing/libva-vdpau-driver/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
new file mode 100644
index 0000000000..b56d268343
--- /dev/null
+++ b/testing/libva-vdpau-driver/libva-vdpau-driver-0.7.4-glext-missing-definition.patch
@@ -0,0 +1,16 @@
+--- a/src/utils_glx.h~ 2012-10-05 16:02:58.000000000 +0100
++++ b/src/utils_glx.h 2012-10-19 08:44:12.469642440 +0100
+@@ -48,6 +48,13 @@
+ typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int);
+ #endif
+
++#if GL_GLEXT_VERSION >= 85
++/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED
++ block and is not defined if GL_VERSION_1_3 is defined in <GL/gl.h>
++ Redefine the type here as an interim solution */
++typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
++#endif
++
+ #ifndef GL_FRAMEBUFFER_BINDING
+ #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT
+ #endif