summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2016-10-03 11:58:24 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2016-10-03 11:58:24 +0200
commit3bfa3b4fcbee2d3248e65d757b97bcb41178e29f (patch)
tree88a9d3e1701b44d82249467382de6b4ab03f17e3 /media-plugins/vdr-atscepg
parentsys-devel/clang: Remove stale libomp check, it is PDEP now (diff)
downloadgentoo-3bfa3b4fcbee2d3248e65d757b97bcb41178e29f.tar.gz
gentoo-3bfa3b4fcbee2d3248e65d757b97bcb41178e29f.tar.bz2
gentoo-3bfa3b4fcbee2d3248e65d757b97bcb41178e29f.zip
media-plugins/vdr-atscepg: fixed compile gcc-6, thx to P.Levine on wrt bug 504462
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-plugins/vdr-atscepg')
-rw-r--r--media-plugins/vdr-atscepg/files/vdr-atscepg-0.3.0_gcc6.patch14
-rw-r--r--media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild4
2 files changed, 17 insertions, 1 deletions
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 000000000000..f6a3235a1a63
--- /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 <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
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 5beec65d0d0c..6f9110a9b7b9 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
}