[packages/libva-driver-vdpau] - rel 3; fix from fc

arekm arekm at pld-linux.org
Mon Jan 19 22:21:40 CET 2015


commit e5e457918ffe44a0126a1edebf5fc8979d602a59
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jan 19 22:21:34 2015 +0100

    - rel 3; fix from fc

 libva-driver-vdpau.spec                 |  9 ++++++---
 libva-vdpau-driver-0.7.4-fix_type.patch | 12 ++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/libva-driver-vdpau.spec b/libva-driver-vdpau.spec
index 7ab35be..cb68375 100644
--- a/libva-driver-vdpau.spec
+++ b/libva-driver-vdpau.spec
@@ -2,14 +2,15 @@ Summary:	VDPAU driver for VAAPI
 Summary(pl.UTF-8):	Sterownik VDPAU dla VAAPI
 Name:		libva-driver-vdpau
 Version:	0.7.4
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-%{version}.tar.bz2
 # Source0-md5:	5ec6d452d2dd307434ea3d32da49c3e5
-Patch0:         %{name}-with-GL_GLEXT_VERSION-85.patch
-Patch1:         %{name}-am.patch
+Patch0:		%{name}-with-GL_GLEXT_VERSION-85.patch
+Patch1:		%{name}-am.patch
 Patch2:		%{name}-drop-h264-api.patch
+Patch3:		libva-vdpau-driver-0.7.4-fix_type.patch
 URL:		http://www.freedesktop.org/wiki/Software/vaapi
 BuildRequires:	OpenGL-GLX-devel
 BuildRequires:	autoconf >= 2.57
@@ -37,6 +38,7 @@ Sterownik oparty na VDPAU dla VAAPI.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
@@ -45,6 +47,7 @@ Sterownik oparty na VDPAU dla VAAPI.
 %{__autoheader}
 %{__automake}
 %configure \
+	--enable-glx \
 	--disable-silent-rules
 
 %{__make}
diff --git a/libva-vdpau-driver-0.7.4-fix_type.patch b/libva-vdpau-driver-0.7.4-fix_type.patch
new file mode 100644
index 0000000..93b80f8
--- /dev/null
+++ b/libva-vdpau-driver-0.7.4-fix_type.patch
@@ -0,0 +1,12 @@
+diff -up libva-vdpau-driver-0.7.4/src/vdpau_decode.c.orig libva-vdpau-driver-0.7.4/src/vdpau_decode.c
+--- libva-vdpau-driver-0.7.4/src/vdpau_decode.c.orig	2012-10-05 17:02:58.000000000 +0200
++++ libva-vdpau-driver-0.7.4/src/vdpau_decode.c	2014-10-25 13:46:26.565474656 +0200
+@@ -1289,7 +1289,7 @@ vdpau_EndPicture(
+             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
+         );
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libva-driver-vdpau.git/commitdiff/e5e457918ffe44a0126a1edebf5fc8979d602a59



More information about the pld-cvs-commit mailing list