pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins0.10-good Fix building with linu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/06c4121655c3
branches:  trunk
changeset: 349818:06c4121655c3
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jul 16 04:35:13 2016 +0000

description:
Fix building with linux-headers >= 3.9

diffstat:

 multimedia/gst-plugins0.10-good/distinfo                            |   3 +-
 multimedia/gst-plugins0.10-good/patches/patch-sys_v4l2_v4l2_calls.c |  19 ++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r c01949f6bced -r 06c4121655c3 multimedia/gst-plugins0.10-good/distinfo
--- a/multimedia/gst-plugins0.10-good/distinfo  Sat Jul 16 04:34:24 2016 +0000
+++ b/multimedia/gst-plugins0.10-good/distinfo  Sat Jul 16 04:35:13 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2015/11/03 23:54:25 agc Exp $
+$NetBSD: distinfo,v 1.41 2016/07/16 04:35:13 markd Exp $
 
 SHA1 (gst-plugins-good-0.10.31.tar.bz2) = b45fc01b133fc23617fa501dd9307a90f467b396
 RMD160 (gst-plugins-good-0.10.31.tar.bz2) = d9fed957ba26d055f7bccb9079bd43faae15b7e5
@@ -9,3 +9,4 @@
 SHA1 (patch-bb) = b71b740e106b5fc932cc50a7994e491da27909be
 SHA1 (patch-gst_goom_mmx.h) = b940bfcd0599fa83fbe574ca9059c7f626d23663
 SHA1 (patch-sys_v4l2_gstv4l2object.c) = d0ca0f9f001e6719c64eda0a2eff40ed7da68b65
+SHA1 (patch-sys_v4l2_v4l2_calls.c) = 4eb5d965a821c6b9e7a6ae84f86b256eb7e56e4c
diff -r c01949f6bced -r 06c4121655c3 multimedia/gst-plugins0.10-good/patches/patch-sys_v4l2_v4l2_calls.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gst-plugins0.10-good/patches/patch-sys_v4l2_v4l2_calls.c       Sat Jul 16 04:35:13 2016 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-sys_v4l2_v4l2_calls.c,v 1.1 2016/07/16 04:35:13 markd Exp $
+
+Fix building with linux-headers >= 3.9
+
+--- sys/v4l2/v4l2_calls.c.orig 2014-06-23 03:18:47.384343480 +0000
++++ sys/v4l2/v4l2_calls.c
+@@ -294,8 +294,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l
+         break;
+       case V4L2_CID_HFLIP:
+       case V4L2_CID_VFLIP:
++#ifndef V4L2_CID_PAN_RESET
+       case V4L2_CID_HCENTER:
++#endif
++#ifndef V4L2_CID_TILT_RESET
+       case V4L2_CID_VCENTER:
++#endif
+ #ifdef V4L2_CID_PAN_RESET
+       case V4L2_CID_PAN_RESET:
+ #endif



Home | Main Index | Thread Index | Old Index