Gentoo Archives: gentoo-commits

From: Joerg Bornkessel <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-atscepg/, media-plugins/vdr-atscepg/files/
Date: Mon, 03 Oct 2016 09:59:13
Message-Id: 1475488704.3bfa3b4fcbee2d3248e65d757b97bcb41178e29f.hd_brummy@gentoo
1 commit: 3bfa3b4fcbee2d3248e65d757b97bcb41178e29f
2 Author: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 3 09:58:24 2016 +0000
4 Commit: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 3 09:58:24 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfa3b4f
7
8 media-plugins/vdr-atscepg: fixed compile gcc-6, thx to P.Levine on wrt bug 504462
9
10 Package-Manager: portage-2.3.0
11
12 .../vdr-atscepg/files/vdr-atscepg-0.3.0_gcc6.patch | 14 ++++++++++++++
13 media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild | 4 +++-
14 2 files changed, 17 insertions(+), 1 deletion(-)
15
16 diff --git a/media-plugins/vdr-atscepg/files/vdr-atscepg-0.3.0_gcc6.patch b/media-plugins/vdr-atscepg/files/vdr-atscepg-0.3.0_gcc6.patch
17 new file mode 100644
18 index 00000000..f6a3235
19 --- /dev/null
20 +++ b/media-plugins/vdr-atscepg/files/vdr-atscepg-0.3.0_gcc6.patch
21 @@ -0,0 +1,14 @@
22 +compile fix gcc6
23 +see https://bugs.gentoo.org/show_bug.cgi?id=594462
24 +Signed-of-by: Joerg Bornkessel <hd_brummy@g.o> (03/Oct/2016)
25 +--- atscepg-0.3.0/filter.cpp.old 2016-09-25 20:39:50.819503021 -0400
26 ++++ atscepg-0.3.0/filter.cpp 2016-09-25 20:40:55.805996012 -0400
27 +@@ -34,7 +34,7 @@
28 +
29 +
30 + #ifdef AE_ENABLE_LOG
31 +-#define F_LOG(T, s, ...) Logger.Printf(T, "(F:%d) "s, fNum, ##__VA_ARGS__)
32 ++#define F_LOG(T, s, ...) Logger.Printf(T, "(F:%d) " s, fNum, ##__VA_ARGS__)
33 + #else
34 + #define F_LOG(T, s, ...)
35 + #endif
36
37 diff --git a/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild b/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild
38 index 5beec65..6f9110a 100644
39 --- a/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild
40 +++ b/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild
41 @@ -1,4 +1,4 @@
42 -# Copyright 1999-2015 Gentoo Foundation
43 +# Copyright 1999-2016 Gentoo Foundation
44 # Distributed under the terms of the GNU General Public License v2
45 # $Id$
46
47 @@ -32,5 +32,7 @@ src_prepare() {
48
49 epatch "${WORKDIR}/atscepg-${PV}_vdr-1.7.13.diff"
50
51 + epatch "${FILESDIR}/${P}_gcc6.patch"
52 +
53 fix_vdr_libsi_include tables.cpp filter.cpp scanner.cpp
54 }