ports/opt (3.0): [notify] libva-vdpau-driver: Compile fix for libva 1.2.1

crux at crux.nu crux at crux.nu
Wed Aug 7 12:44:13 UTC 2013


commit 52df5901d23f67de04da490f02e74ce7a66fc4aa
Author: Danny Rawlins <monster.romster at gmail.com>
Date:   Wed Aug 7 22:44:06 2013 +1000

    [notify] libva-vdpau-driver: Compile fix for libva 1.2.1

diff --git a/libva-vdpau-driver/.md5sum b/libva-vdpau-driver/.md5sum
index efaa80b..5949778 100644
--- a/libva-vdpau-driver/.md5sum
+++ b/libva-vdpau-driver/.md5sum
@@ -1,2 +1,3 @@
 aa5f63941036c18e928cd0444ec58310  glx.patch
 5ec6d452d2dd307434ea3d32da49c3e5  libva-vdpau-driver-0.7.4.tar.bz2
+e1a98235651ff5e6a481860afcfe3032  libva.patch
diff --git a/libva-vdpau-driver/Pkgfile b/libva-vdpau-driver/Pkgfile
index 820f212..8270b8b 100644
--- a/libva-vdpau-driver/Pkgfile
+++ b/libva-vdpau-driver/Pkgfile
@@ -6,14 +6,15 @@
 
 name=libva-vdpau-driver
 version=0.7.4
-release=1
+release=2
 source=(http://www.freedesktop.org/software/vaapi/releases/$name/$name-$version.tar.bz2
-	glx.patch)
+	glx.patch libva.patch)
 
 build() {
 	cd $name-$version
 
 	patch -p1 -i $SRC/glx.patch
+	patch -p1 -i $SRC/libva.patch
 
 	./configure \
 		--prefix=/usr \
diff --git a/libva-vdpau-driver/libva.patch b/libva-vdpau-driver/libva.patch
new file mode 100644
index 0000000..8b62962
--- /dev/null
+++ b/libva-vdpau-driver/libva.patch
@@ -0,0 +1,12 @@
+diff -ur a/src/vdpau_dump.c b/src/vdpau_dump.c
+--- a/src/vdpau_dump.c	2012-10-05 10:02:58.000000000 -0500
++++ b/src/vdpau_dump.c	2013-07-12 14:21:19.990069043 -0500
+@@ -59,8 +59,6 @@
+         _(VAEncSequenceParameterBufferType);
+         _(VAEncPictureParameterBufferType);
+         _(VAEncSliceParameterBufferType);
+-        _(VAEncH264VUIBufferType);
+-        _(VAEncH264SEIBufferType);
+ #endif
+ #if VA_CHECK_VERSION(0,31,1)
+         _(VAQMatrixBufferType);



More information about the CRUX mailing list