media-plugins/vdr-atscepg: fixed compile gcc-6, thx to P.Levine on wrt bug 504462
authorJoerg Bornkessel <hd_brummy@gentoo.org>
Mon, 3 Oct 2016 09:58:24 +0000 (11:58 +0200)
committerJoerg Bornkessel <hd_brummy@gentoo.org>
Mon, 3 Oct 2016 09:58:24 +0000 (11:58 +0200)
Package-Manager: portage-2.3.0

media-plugins/vdr-atscepg/files/vdr-atscepg-0.3.0_gcc6.patch [new file with mode: 0644]
media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild

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 (file)
index 0000000..f6a3235
--- /dev/null
@@ -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
index 5beec65d0d0c9061905b271c61e0bda198463b22..6f9110a9b7b964ad11094350f82ef0ed3a57fad5 100644 (file)
@@ -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
 }