summaryrefslogtreecommitdiff
path: root/community/xvba-video-open/fix-build-with-glext.h-version-85.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-10 00:51:34 -0800
committerroot <root@rshg054.dnsready.net>2013-03-10 00:51:34 -0800
commit6ee08d6a9217906f2ef84f70923d3d362d4b40ad (patch)
treedc3d842884f61485a4c01889d37d9432620d5e38 /community/xvba-video-open/fix-build-with-glext.h-version-85.patch
parent92eac63df242654434dceb000bac083f6e81a6b9 (diff)
Sun Mar 10 00:50:57 PST 2013
Diffstat (limited to 'community/xvba-video-open/fix-build-with-glext.h-version-85.patch')
-rw-r--r--community/xvba-video-open/fix-build-with-glext.h-version-85.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/xvba-video-open/fix-build-with-glext.h-version-85.patch b/community/xvba-video-open/fix-build-with-glext.h-version-85.patch
new file mode 100644
index 000000000..f3cabce50
--- /dev/null
+++ b/community/xvba-video-open/fix-build-with-glext.h-version-85.patch
@@ -0,0 +1,17 @@
+diff -ru xvba-video-0.8.0/src/utils_glx.h xvba-video-0.8.0.patched/src/utils_glx.h
+--- xvba-video-0.8.0/src/utils_glx.h 2011-06-14 13:07:13.000000000 +0200
++++ xvba-video-0.8.0.patched/src/utils_glx.h 2013-02-17 10:53:34.589818821 +0100
+@@ -25,6 +25,13 @@
+ #include <GL/glext.h>
+ #include <GL/glx.h>
+
++#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