summaryrefslogtreecommitdiff
path: root/libva-vdpau-driver
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2014-09-12 12:53:07 +1000
committerDanny Rawlins <monster.romster@gmail.com>2014-09-12 12:53:32 +1000
commit3c39faba7c533185d67733c65d1fbae141f16758 (patch)
treee338da5fd63a943b3c11b923b833ede14128404b /libva-vdpau-driver
parentd3958fa054751f52090a05777c004ef87e57911e (diff)
downloadopt-3c39faba7c533185d67733c65d1fbae141f16758.tar.gz
opt-3c39faba7c533185d67733c65d1fbae141f16758.tar.xz
libva-vdpau-driver: fixes compile issue FS#1059
Diffstat (limited to 'libva-vdpau-driver')
-rw-r--r--libva-vdpau-driver/.md5sum1
-rw-r--r--libva-vdpau-driver/Pkgfile5
-rw-r--r--libva-vdpau-driver/vdpau.patch12
3 files changed, 16 insertions, 2 deletions
diff --git a/libva-vdpau-driver/.md5sum b/libva-vdpau-driver/.md5sum
index 594977895..55086655e 100644
--- a/libva-vdpau-driver/.md5sum
+++ b/libva-vdpau-driver/.md5sum
@@ -1,3 +1,4 @@
aa5f63941036c18e928cd0444ec58310 glx.patch
5ec6d452d2dd307434ea3d32da49c3e5 libva-vdpau-driver-0.7.4.tar.bz2
e1a98235651ff5e6a481860afcfe3032 libva.patch
+46e7aa98fb6fabf51a3efc52dd920616 vdpau.patch
diff --git a/libva-vdpau-driver/Pkgfile b/libva-vdpau-driver/Pkgfile
index 4905563d3..99398bcd2 100644
--- a/libva-vdpau-driver/Pkgfile
+++ b/libva-vdpau-driver/Pkgfile
@@ -6,15 +6,16 @@
name=libva-vdpau-driver
version=0.7.4
-release=3
+release=4
source=(http://www.freedesktop.org/software/vaapi/releases/$name/$name-$version.tar.bz2
- glx.patch libva.patch)
+ glx.patch libva.patch vdpau.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/glx.patch
patch -p1 -i $SRC/libva.patch
+ patch -p1 -i $SRC/vdpau.patch
./configure \
--prefix=/usr \
diff --git a/libva-vdpau-driver/vdpau.patch b/libva-vdpau-driver/vdpau.patch
new file mode 100644
index 000000000..c90011f0e
--- /dev/null
+++ b/libva-vdpau-driver/vdpau.patch
@@ -0,0 +1,12 @@
+diff -ur a/src/vdpau_decode.c b/src/vdpau_decode.c
+--- a/src/vdpau_decode.c 2012-10-05 10:02:58.000000000 -0500
++++ b/src/vdpau_decode.c 2014-07-18 07:42:37.240166340 -0500
+@@ -1289,7 +1289,7 @@
+ driver_data,
+ obj_context->vdp_decoder,
+ obj_surface->vdp_surface,
+- (VdpPictureInfo)&obj_context->vdp_picture_info,
++ (VdpPictureInfo*)&obj_context->vdp_picture_info,
+ obj_context->vdp_bitstream_buffers_count,
+ obj_context->vdp_bitstream_buffers
+ );

Generated by cgit