pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/xine-lib xine-lib: Fix building v4l2 plugin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac2d8856c0a8
branches:  trunk
changeset: 443743:ac2d8856c0a8
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Dec 20 12:53:57 2020 +0000

description:
xine-lib: Fix building v4l2 plugin on NetBSD

diffstat:

 multimedia/xine-lib/distinfo                             |   3 ++-
 multimedia/xine-lib/patches/patch-src_input_input__pvr.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r d51355996265 -r ac2d8856c0a8 multimedia/xine-lib/distinfo
--- a/multimedia/xine-lib/distinfo      Sun Dec 20 12:50:44 2020 +0000
+++ b/multimedia/xine-lib/distinfo      Sun Dec 20 12:53:57 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.114 2020/12/18 23:33:06 nia Exp $
+$NetBSD: distinfo,v 1.115 2020/12/20 12:53:57 nia Exp $
 
 SHA1 (xine-lib-1.2.11.tar.xz) = eff3d39d9d9575ac99d326ed9d26647fd3233271
 RMD160 (xine-lib-1.2.11.tar.xz) = 025b1bd5b46e98d8676293359f6e4237df7d7e39
@@ -26,5 +26,6 @@
 SHA1 (patch-src-post-planar-pp.c) = f5bea421785132c5f1422ae9f0d468974fb0ae5d
 SHA1 (patch-src-post-planar-unsharp.c) = 9f29c624f96a91760df960343096247d8c09c58d
 SHA1 (patch-src_input_input__http.c) = 80de20be0f99efa5cb67230c900acbf6e4ee9e7c
+SHA1 (patch-src_input_input__pvr.c) = b6429e9a7c9309cbe9eb1bf5f50ab6b6c06d5b0c
 SHA1 (patch-src_video__out_Makefile.am) = 623e41b3f142426c5128c6c61c6ebefee170734e
 SHA1 (patch-src_video__out_macosx_Makefile.am) = 8350a75e3a4c0b2f684e07dcc18259fcc5b28115
diff -r d51355996265 -r ac2d8856c0a8 multimedia/xine-lib/patches/patch-src_input_input__pvr.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xine-lib/patches/patch-src_input_input__pvr.c  Sun Dec 20 12:53:57 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_input_input__pvr.c,v 1.1 2020/12/20 12:53:58 nia Exp $
+
+Use standard type. Fixes build on NetBSD.
+
+--- src/input/input_pvr.c.orig 2020-11-19 10:30:37.000000000 +0000
++++ src/input/input_pvr.c
+@@ -1046,7 +1046,7 @@ static void pvr_event_handler (pvr_input
+ 
+         vf.tuner = 0;
+         vf.type = vt.type;
+-        vf.frequency = (__u32)(freq * fac);
++        vf.frequency = (uint32_t)(freq * fac);
+ 
+         if (ioctl(this->dev_fd, VIDIOC_S_FREQUENCY, &vf) == 0) {
+           lprintf("Tuner Frequency set to %d (%f.3 MHz)\n", vf.frequency, vf.frequency / fac);



Home | Main Index | Thread Index | Old Index