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

Package-Manager: portage-2.3.0
This commit is contained in:
Joerg Bornkessel
2016-10-03 11:58:24 +02:00
parent e8bfd68737
commit 3bfa3b4fcb
2 changed files with 17 additions and 1 deletions
@@ -0,0 +1,14 @@
compile fix gcc6
see https://bugs.gentoo.org/show_bug.cgi?id=594462
Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (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
@@ -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
}