aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libva-vdpau-driver
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2013-09-29 17:01:41 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2013-09-29 17:01:41 +0000
commit5a4c543c2b0f538631aea8379ce384d5defee89d (patch)
tree108a55d148b3bc801facab0fb03b8666659c1136 /multimedia/libva-vdpau-driver
parent7231ff2710fcc89472994d2e2d235e74e9c8704c (diff)
downloadports-5a4c543c2b0f538631aea8379ce384d5defee89d.tar.gz
ports-5a4c543c2b0f538631aea8379ce384d5defee89d.zip
Notes
Diffstat (limited to 'multimedia/libva-vdpau-driver')
-rw-r--r--multimedia/libva-vdpau-driver/files/patch-src-utils_glx.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/libva-vdpau-driver/files/patch-src-utils_glx.h b/multimedia/libva-vdpau-driver/files/patch-src-utils_glx.h
new file mode 100644
index 000000000000..3d9d273e3869
--- /dev/null
+++ b/multimedia/libva-vdpau-driver/files/patch-src-utils_glx.h
@@ -0,0 +1,22 @@
+--- src/utils_glx.h.orig 2013-09-29 15:55:16.128603213 +0200
++++ src/utils_glx.h 2013-09-29 15:55:18.537925849 +0200
+@@ -42,6 +42,19 @@
+ typedef void (*PFNGLVDPAUUNMAPSURFACESNVPROC)(GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
+ #endif
+
++#if GL_GLEXT_VERSION >= 85
++/*
++ * The following typedef is hidden in at least Mesa 9.1.x, because:
++ * o GL/glext.h was updated to version 85, moving the typedef inside
++ * an #ifndef GL_VERSION_1_3 block.
++ * (Mesa Git: 68060cfb2bbf890a3932c8d25382261a83f393af)
++ * o GL/gl.h defines GL_VERSION_1_3 to 1.
++ *
++ * See: https://gitorious.org/vaapi/gstreamer-vaapi/commit/5db2e93d3c930fd8470cfdcd26f514d1cebc59a0/diffs
++ */
++typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
++#endif
++
+ /* GLX_EXT_texture_from_pixmap */
+ #if GLX_GLXEXT_VERSION < 18
+ typedef void (*PFNGLXBINDTEXIMAGEEXTPROC)(Display *, GLXDrawable, int, const int *);