Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting8.git;a=commitdiff;h=8b22395353c8252f5637830c239d4894034469ce
commit 8b22395353c8252f5637830c239d4894034469ce Author: James Buren <[email protected]> Date: Fri Oct 26 22:01:30 2012 -0500 libva-vdpau-driver-0.7.4-3-x86_64 * fix build diff --git a/source/x11/libva-vdpau-driver/FrugalBuild b/source/x11/libva-vdpau-driver/FrugalBuild index 3a0a45e..c35a2ed 100644 --- a/source/x11/libva-vdpau-driver/FrugalBuild +++ b/source/x11/libva-vdpau-driver/FrugalBuild @@ -3,7 +3,7 @@ pkgname=libva-vdpau-driver pkgver=0.7.4 -pkgrel=2 +pkgrel=3 pkgdesc="VDPAU backend for VA API" archs=('i686' 'x86_64' 'arm') url="http://freedesktop.org/wiki/Software/vaapi" @@ -11,7 +11,8 @@ license=('GPL') depends=('libva' 'libvdpau') makedepends=('mesa') groups=('x11') -source=(http://www.freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2) +source=(http://www.freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2 glx.patch) up2date="Flasttar http://www.freedesktop.org/software/vaapi/releases/$pkgname/" -sha1sums=('224318f4ea8bafca6a0fec770e388b7d1a1a66b3') +sha1sums=('224318f4ea8bafca6a0fec770e388b7d1a1a66b3' \ + '150282b859e7538bf7939c848f072c41ecc06719') diff --git a/source/x11/libva-vdpau-driver/glx.patch b/source/x11/libva-vdpau-driver/glx.patch new file mode 100644 index 0000000..7143d8b --- /dev/null +++ b/source/x11/libva-vdpau-driver/glx.patch @@ -0,0 +1,17 @@ +diff -ur a/src/utils_glx.h b/src/utils_glx.h +--- a/src/utils_glx.h 2012-10-05 10:02:58.000000000 -0500 ++++ b/src/utils_glx.h 2012-10-26 22:00:13.039341049 -0500 +@@ -27,6 +27,13 @@ + #include <GL/glxext.h> + #include <vdpau/vdpau.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 ++ + /* GL_NV_vdpau_interop */ + #if GL_GLEXT_VERSION < 64 + typedef GLintptr GLvdpauSurfaceNV; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
