Gentoo Archives: gentoo-commits

From: "Matthias Schwarzott (zzam)" <zzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-channelscan/files: vdr-channelscan-0.1.0-vdr-1.5.10.diff
Date: Wed, 23 Apr 2008 09:00:07
Message-Id: E1Joapg-0006oB-Im@stork.gentoo.org
1 zzam 08/04/23 09:00:04
2
3 Added: vdr-channelscan-0.1.0-vdr-1.5.10.diff
4 Log:
5 Added vdr-1.5.10 patch from e-tobi.
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.1 media-plugins/vdr-channelscan/files/vdr-channelscan-0.1.0-vdr-1.5.10.diff
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-channelscan/files/vdr-channelscan-0.1.0-vdr-1.5.10.diff?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-channelscan/files/vdr-channelscan-0.1.0-vdr-1.5.10.diff?rev=1.1&content-type=text/plain
13
14 Index: vdr-channelscan-0.1.0-vdr-1.5.10.diff
15 ===================================================================
16 #! /bin/sh /usr/share/dpatch/dpatch-run
17 ## 90_channelscan-0.1.0-1.5.10.dpatch by yolgecen at vdrportal.de
18 ## http://vdrportal.de/board/thread.php?threadid=69815
19 ##
20 ## Thomas Günther <tom@×××××××××.de>:
21 ## - Added compatibility to VDR < 1.5.10
22 ##
23 ## All lines beginning with `## DP:' are a description of the patch.
24 ## DP: Changes for VDR >= 1.5.10.
25
26 @DPATCH@
27 diff -ur channelscan-0.1.0/filter.c channelscan-0.1.0_vdr-1.5.10/filter.c
28 --- channelscan-0.1.0/filter.c 2005-09-20 19:21:25.000000000 +0200
29 +++ channelscan-0.1.0_vdr-1.5.10/filter.c 2007-10-15 23:43:08.000000000 +0200
30 @@ -372,6 +372,10 @@
31 int Dpids[MAXDPIDS + 1] = { 0 };
32 char ALangs[MAXAPIDS + 1][MAXLANGCODE2] = { "" };
33 char DLangs[MAXDPIDS + 1][MAXLANGCODE2] = { "" };
34 +#if VDRVERSNUM >= 10510
35 + int Spids[MAXDPIDS + 1] = { 0 };
36 + char SLangs[MAXDPIDS + 1][MAXLANGCODE2] = { "" };
37 +#endif
38 int Tpid = 0;
39 int NumApids = 0;
40 int NumDpids = 0;
41 @@ -445,7 +449,11 @@
42 delete d;
43 }
44 }
45 +#if VDRVERSNUM >= 10510
46 + Channel->SetPids(Vpid, Vpid ? Ppid : 0, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid);
47 +#else
48 Channel->SetPids(Vpid, Vpid ? Ppid : 0, Apids, ALangs, Dpids, DLangs, Tpid);
49 +#endif
50 Channel->SetCaIds(CaDescriptors->CaIds());
51 Channel->SetCaDescriptors(CaDescriptorHandler.AddCaDescriptors(CaDescriptors));
52 }
53
54
55
56 --
57 gentoo-commits@l.g.o mailing list