diff options
author | ryoon <ryoon@pkgsrc.org> | 2020-09-01 21:44:01 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2020-09-01 21:44:01 +0000 |
commit | 2f821d39359a5e2bad2ae4c38b75f8525a4ffd1d (patch) | |
tree | 99e725aa7d900f530ce87b00b148a4f6618e29ed /multimedia | |
parent | e0d56781403adf46ae1b2d38eb1cf58742e9489a (diff) | |
download | pkgsrc-2f821d39359a5e2bad2ae4c38b75f8525a4ffd1d.tar.gz |
gst-plugins0.10-v4l2: Fix build with recent kernel
* v4l2_buffer.input has removed.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gst-plugins0.10-good/distinfo | 3 | ||||
-rw-r--r-- | multimedia/gst-plugins0.10-good/patches/patch-sys_v4l2_gstv4l2bufferpool.c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/multimedia/gst-plugins0.10-good/distinfo b/multimedia/gst-plugins0.10-good/distinfo index 8b82974a6cf..365fa7dbae4 100644 --- a/multimedia/gst-plugins0.10-good/distinfo +++ b/multimedia/gst-plugins0.10-good/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.43 2018/03/21 18:04:53 kamil Exp $ +$NetBSD: distinfo,v 1.44 2020/09/01 21:44:01 ryoon Exp $ SHA1 (gst-plugins-good-0.10.31.tar.bz2) = b45fc01b133fc23617fa501dd9307a90f467b396 RMD160 (gst-plugins-good-0.10.31.tar.bz2) = d9fed957ba26d055f7bccb9079bd43faae15b7e5 @@ -8,5 +8,6 @@ SHA1 (patch-ab) = d0d8b7fbd373d300e1808b8b106257d87dd85f7a SHA1 (patch-ba) = 0f2cc16c39f8bc2a4854ec928b7c0b60d0559eb5 SHA1 (patch-bb) = b71b740e106b5fc932cc50a7994e491da27909be SHA1 (patch-gst_goom_mmx.h) = b940bfcd0599fa83fbe574ca9059c7f626d23663 +SHA1 (patch-sys_v4l2_gstv4l2bufferpool.c) = c200c8f0a647dd0c74be6d4e68bfac7a910b78a3 SHA1 (patch-sys_v4l2_gstv4l2object.c) = 2897708371b21cb098e799fa0dd2d288f042374a SHA1 (patch-sys_v4l2_v4l2_calls.c) = 4eb5d965a821c6b9e7a6ae84f86b256eb7e56e4c diff --git a/multimedia/gst-plugins0.10-good/patches/patch-sys_v4l2_gstv4l2bufferpool.c b/multimedia/gst-plugins0.10-good/patches/patch-sys_v4l2_gstv4l2bufferpool.c new file mode 100644 index 00000000000..f515f81dd23 --- /dev/null +++ b/multimedia/gst-plugins0.10-good/patches/patch-sys_v4l2_gstv4l2bufferpool.c @@ -0,0 +1,14 @@ +$NetBSD: patch-sys_v4l2_gstv4l2bufferpool.c,v 1.1 2020/09/01 21:44:01 ryoon Exp $ + +v4l2_buffer.input has removed in recent kernel. + +--- sys/v4l2/gstv4l2bufferpool.c.orig 2011-12-30 13:59:13.000000000 +0000 ++++ sys/v4l2/gstv4l2bufferpool.c +@@ -181,7 +181,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * + 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, |