[directfb] Fix rhbz#850181

Nicolas Chauvet kwizart at fedoraproject.org
Thu Aug 30 21:00:46 UTC 2012


commit 6c2eacef939f18dd2eb7a839587a6a5fbf0f8b2d
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Thu Aug 30 23:00:17 2012 +0200

    Fix rhbz#850181

 DirectFB-1.5.3-vdpau.patch |   24 ++++++++++++++++++++++++
 directfb.spec              |    7 ++++++-
 2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/DirectFB-1.5.3-vdpau.patch b/DirectFB-1.5.3-vdpau.patch
new file mode 100644
index 0000000..8c4acb2
--- /dev/null
+++ b/DirectFB-1.5.3-vdpau.patch
@@ -0,0 +1,24 @@
+diff -up DirectFB-1.5.3/gfxdrivers/vdpau/Makefile.am.vdpaufix DirectFB-1.5.3/gfxdrivers/vdpau/Makefile.am
+--- DirectFB-1.5.3/gfxdrivers/vdpau/Makefile.am.vdpaufix	2011-07-31 20:51:06.000000000 +0200
++++ DirectFB-1.5.3/gfxdrivers/vdpau/Makefile.am	2012-08-30 22:42:55.680504159 +0200
+@@ -25,7 +25,7 @@ libdirectfb_vdpau_la_SOURCES =	\
+ libdirectfb_vdpau_la_LDFLAGS = \
+ 	-module			\
+ 	-avoid-version		\
+-	$(DFB_LDFLAGS) -lm
++	$(DFB_LDFLAGS) -lm $(X11VDPAU_LIBS)
+ 
+ libdirectfb_vdpau_la_LIBADD = \
+ 	$(top_builddir)/lib/direct/libdirect.la \
+diff -up DirectFB-1.5.3/gfxdrivers/vdpau/Makefile.in.vdpaufix DirectFB-1.5.3/gfxdrivers/vdpau/Makefile.in
+--- DirectFB-1.5.3/gfxdrivers/vdpau/Makefile.in.vdpaufix	2011-08-07 06:33:35.000000000 +0200
++++ DirectFB-1.5.3/gfxdrivers/vdpau/Makefile.in	2012-08-30 22:43:07.616564143 +0200
+@@ -333,7 +333,7 @@ libdirectfb_vdpau_la_SOURCES = \
+ libdirectfb_vdpau_la_LDFLAGS = \
+ 	-module			\
+ 	-avoid-version		\
+-	$(DFB_LDFLAGS) -lm
++	$(DFB_LDFLAGS) -lm $(X11VDPAU_LIBS)
+ 
+ libdirectfb_vdpau_la_LIBADD = \
+ 	$(top_builddir)/lib/direct/libdirect.la \
diff --git a/directfb.spec b/directfb.spec
index 5445d32..d8da685 100644
--- a/directfb.spec
+++ b/directfb.spec
@@ -4,7 +4,7 @@
 Summary: Graphics abstraction library for the Linux Framebuffer Device
 Name: directfb
 Version: %{major_ver}%{minor_ver}
-Release: 8%{?dist}
+Release: 9%{?dist}
 Group: System Environment/Libraries
 License: LGPLv2+
 URL: http://www.directfb.org/
@@ -15,6 +15,7 @@ Patch2: DirectFB-1.5.3-fix_v4l1.patch
 Patch3: DirectFB-1.5.3-lm.patch
 Patch4: DirectFB-1.5.3-gcc-atomics-on-arm.patch
 Patch5: DirectFB-1.5.3-add-missing-davinci-files.patch
+Patch6: DirectFB-1.5.3-vdpau.patch
 
 BuildRequires: libpng-devel
 BuildRequires: zlib-devel
@@ -73,6 +74,7 @@ Development files for DirectFB.
 %patch3 -p1 -b .lm
 %patch4 -p1 -b .arm-atomics
 %patch5 -p1 -b .davinci
+%patch6 -p1 -b .vdpau
 
 #Disable ppc asm since compilation fails (and it seems better to use glibc)
 sed -i.noppcasm -e 's/want_ppcasm=yes/want_ppcasm=no/'g configure.in configure
@@ -214,6 +216,9 @@ make check
 
 
 %changelog
+* Thu Aug 30 2012 Nicolas Chauvet <kwizart at gmail.com> - 1.5.3-9
+- Fix vdpau plugin - rhbz#852740
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.3-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list