[packages/gstreamer0.10-plugins-good] - fix building with current libv4l - rel 4
baggins
baggins at pld-linux.org
Mon Oct 22 00:26:48 CEST 2012
commit 89c8d5d1f37d80f2b6362fbb348bc526ebff4e72
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Oct 22 00:26:32 2012 +0200
- fix building with current libv4l
- rel 4
gstreamer0.10-plugins-good.spec | 4 +++-
libv4l.patch | 10 ++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/gstreamer0.10-plugins-good.spec b/gstreamer0.10-plugins-good.spec
index b27e8c8..853eec1 100644
--- a/gstreamer0.10-plugins-good.spec
+++ b/gstreamer0.10-plugins-good.spec
@@ -23,11 +23,12 @@ Summary: Good GStreamer Streaming-media framework plugins
Summary(pl.UTF-8): Dobre wtyczki do środowiska obróbki strumieni GStreamer
Name: gstreamer0.10-plugins-good
Version: 0.10.31
-Release: 3
+Release: 4
License: LGPL v2+
Group: Libraries
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-good/%{gstname}-%{version}.tar.xz
# Source0-md5: 555845ceab722e517040bab57f9ace95
+Patch0: libv4l.patch
URL: http://gstreamer.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.10
@@ -479,6 +480,7 @@ Wtyczka obsługująca bezstratny format dźwięku Wavpack.
%prep
%setup -q -n %{gstname}-%{version}
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/libv4l.patch b/libv4l.patch
new file mode 100644
index 0000000..e88949a
--- /dev/null
+++ b/libv4l.patch
@@ -0,0 +1,10 @@
+--- gst-plugins-good-0.10.31/sys/v4l2/gstv4l2bufferpool.c~ 2011-12-30 14:59:13.000000000 +0100
++++ gst-plugins-good-0.10.31/sys/v4l2/gstv4l2bufferpool.c 2012-10-22 00:25:19.459751834 +0200
+@@ -181,7 +181,6 @@
+ GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u",
+ ret->vbuffer.m.offset);
+ GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length);
+- GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input);
+
+ data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length,
+ PROT_READ | PROT_WRITE, MAP_SHARED, pool->video_fd,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gstreamer0.10-plugins-good.git/commitdiff/89c8d5d1f37d80f2b6362fbb348bc526ebff4e72
More information about the pld-cvs-commit
mailing list