pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/xine-lib



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Dec 20 12:53:58 UTC 2020

Modified Files:
        pkgsrc/multimedia/xine-lib: distinfo
Added Files:
        pkgsrc/multimedia/xine-lib/patches: patch-src_input_input__pvr.c

Log Message:
xine-lib: Fix building v4l2 plugin on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 pkgsrc/multimedia/xine-lib/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/multimedia/xine-lib/patches/patch-src_input_input__pvr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/xine-lib/distinfo
diff -u pkgsrc/multimedia/xine-lib/distinfo:1.114 pkgsrc/multimedia/xine-lib/distinfo:1.115
--- pkgsrc/multimedia/xine-lib/distinfo:1.114   Fri Dec 18 23:33:06 2020
+++ pkgsrc/multimedia/xine-lib/distinfo Sun Dec 20 12:53:57 2020
@@ -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-noise.c) = d
 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

Added files:

Index: pkgsrc/multimedia/xine-lib/patches/patch-src_input_input__pvr.c
diff -u /dev/null pkgsrc/multimedia/xine-lib/patches/patch-src_input_input__pvr.c:1.1
--- /dev/null   Sun Dec 20 12:53:58 2020
+++ pkgsrc/multimedia/xine-lib/patches/patch-src_input_input__pvr.c     Sun Dec 20 12:53:58 2020
@@ -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