commit:     3bfa3b4fcbee2d3248e65d757b97bcb41178e29f
Author:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  3 09:58:24 2016 +0000
Commit:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
CommitDate: Mon Oct  3 09:58:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfa3b4f

media-plugins/vdr-atscepg: fixed compile gcc-6, thx to P.Levine on wrt bug 
504462

Package-Manager: portage-2.3.0

 .../vdr-atscepg/files/vdr-atscepg-0.3.0_gcc6.patch         | 14 ++++++++++++++
 media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild      |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)

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
new file mode 100644
index 00000000..f6a3235
--- /dev/null
+++ b/media-plugins/vdr-atscepg/files/vdr-atscepg-0.3.0_gcc6.patch
@@ -0,0 +1,14 @@
+compile fix gcc6
+see https://bugs.gentoo.org/show_bug.cgi?id=594462
+Signed-of-by: Joerg Bornkessel <[email protected]> (03/Oct/2016)
+--- atscepg-0.3.0/filter.cpp.old       2016-09-25 20:39:50.819503021 -0400
++++ atscepg-0.3.0/filter.cpp   2016-09-25 20:40:55.805996012 -0400
+@@ -34,7 +34,7 @@
+ 
+ 
+ #ifdef AE_ENABLE_LOG
+-#define F_LOG(T, s, ...) Logger.Printf(T, "(F:%d) "s, fNum, ##__VA_ARGS__)
++#define F_LOG(T, s, ...) Logger.Printf(T, "(F:%d) " s, fNum, ##__VA_ARGS__)
+ #else
+ #define F_LOG(T, s, ...) 
+ #endif

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
index 5beec65..6f9110a 100644
--- a/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild
+++ b/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -32,5 +32,7 @@ src_prepare() {
 
        epatch "${WORKDIR}/atscepg-${PV}_vdr-1.7.13.diff"
 
+       epatch "${FILESDIR}/${P}_gcc6.patch"
+
        fix_vdr_libsi_include tables.cpp filter.cpp scanner.cpp
 }

Reply via email to