diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-10-17 09:35:23 +0200 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-10-17 09:35:23 +0200 |
commit | a4fd5b5066e6dd98816de1726e165d421e6ea393 (patch) | |
tree | 5ab57a3635d9094f453e2d6832e50551ae9d58e7 /media-plugins | |
parent | app-misc/wcd: Removed old. (diff) | |
download | gentoo-a4fd5b5066e6dd98816de1726e165d421e6ea393.tar.gz gentoo-a4fd5b5066e6dd98816de1726e165d421e6ea393.tar.bz2 gentoo-a4fd5b5066e6dd98816de1726e165d421e6ea393.zip |
media-plugins/vdr-lcr: compile fix gcc-6, thx to P.Levine on wrt bug 594266
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-lcr/files/vdr-lcr-0.0.9_gcc-6.patch | 87 | ||||
-rw-r--r-- | media-plugins/vdr-lcr/vdr-lcr-0.0.9-r1.ebuild | 38 |
2 files changed, 125 insertions, 0 deletions
diff --git a/media-plugins/vdr-lcr/files/vdr-lcr-0.0.9_gcc-6.patch b/media-plugins/vdr-lcr/files/vdr-lcr-0.0.9_gcc-6.patch new file mode 100644 index 000000000000..170e6773f16a --- /dev/null +++ b/media-plugins/vdr-lcr/files/vdr-lcr-0.0.9_gcc-6.patch @@ -0,0 +1,87 @@ +compile fix gcc-6 +https://bugs.gentoo.org/show_bug.cgi?id=594266 +Signed-of-by: Peter Levine +Reviewed-by: Joerg Bornkessel <hd_brummy@gentoo.org> (2016/Oct/17) +--- lcr-0.0.9/lcrcfg.c.old 2016-09-23 22:45:27.742540395 -0400 ++++ lcr-0.0.9/lcrcfg.c 2016-09-23 22:48:44.825541491 -0400 +@@ -50,48 +50,48 @@ + { + { + // eLcrThemeClassic +- 0x7F000000, // clrBackground +- 0xFFFCFCFC, // clrTitleBackground +- 0xFF000000, // clrTitleText +- 0xFFFCC024, // clrActiveText ++ (int) 0x7F000000, // clrBackground ++ (int) 0xFFFCFCFC, // clrTitleBackground ++ (int) 0xFF000000, // clrTitleText ++ (int) 0xFFFCC024, // clrActiveText + // 0xFFFCFCFC, // clrInactiveText // changed, since nearly white on white cannot be read ;-) +- 0xFF000000, // clrInactiveText +- 0xFFFC1414, // clrRed +- 0xFFFCC024, // clrYellow +- 0xFF24FC24, // clrGreen ++ (int) 0xFF000000, // clrInactiveText ++ (int) 0xFFFC1414, // clrRed ++ (int) 0xFFFCC024, // clrYellow ++ (int) 0xFF24FC24, // clrGreen + }, + { + // eLcrThemeElchi +- 0xC8000066, // clrBackground +- 0xC833AAEE, // clrTitleBackground +- 0xFF000000, // clrTitleText +- 0xFFCCBB22, // clrActiveText +- 0xFFFFFFFF, // clrInactiveText +- 0xFFFF0000, // clrRed +- 0xFFFFEE00, // clrYellow +- 0xFF33CC33, // clrGreen ++ (int) 0xC8000066, // clrBackground ++ (int) 0xC833AAEE, // clrTitleBackground ++ (int) 0xFF000000, // clrTitleText ++ (int) 0xFFCCBB22, // clrActiveText ++ (int) 0xFFFFFFFF, // clrInactiveText ++ (int) 0xFFFF0000, // clrRed ++ (int) 0xFFFFEE00, // clrYellow ++ (int) 0xFF33CC33, // clrGreen + }, + { + // eLcrThemeDeepBlue +- 0xC80C0C0C, // clrBackground +- 0xC832557A, // clrTitleBackground +- 0xFF000000, // clrTitleText +- 0xFFCE7B00, // clrActiveText +- 0xFF9A9A9A, // clrInactiveText +- 0xFF992900, // clrRed +- 0xFFCE7B00, // clrYellow +- 0xFF336600, // clrGreen ++ (int) 0xC80C0C0C, // clrBackground ++ (int) 0xC832557A, // clrTitleBackground ++ (int) 0xFF000000, // clrTitleText ++ (int) 0xFFCE7B00, // clrActiveText ++ (int) 0xFF9A9A9A, // clrInactiveText ++ (int) 0xFF992900, // clrRed ++ (int) 0xFFCE7B00, // clrYellow ++ (int) 0xFF336600, // clrGreen + }, + { + // eLcrThemeMoronimo +- 0xDF294A6B, // clrBackground +- 0xDF3E5578, // clrTitleBackground +- 0xFF9BBAD7, // clrTitleText +- 0xFFCE7B00, // clrActiveText +- 0xFF9A9A9A, // clrInactiveText +- 0xFF992900, // clrRed +- 0xFFCE7B00, // clrYellow +- 0xFF336600, // clrGreen ++ (int) 0xDF294A6B, // clrBackground ++ (int) 0xDF3E5578, // clrTitleBackground ++ (int) 0xFF9BBAD7, // clrTitleText ++ (int) 0xFFCE7B00, // clrActiveText ++ (int) 0xFF9A9A9A, // clrInactiveText ++ (int) 0xFF992900, // clrRed ++ (int) 0xFFCE7B00, // clrYellow ++ (int) 0xFF336600, // clrGreen + }, + }; + diff --git a/media-plugins/vdr-lcr/vdr-lcr-0.0.9-r1.ebuild b/media-plugins/vdr-lcr/vdr-lcr-0.0.9-r1.ebuild new file mode 100644 index 000000000000..af53ce412bf6 --- /dev/null +++ b/media-plugins/vdr-lcr/vdr-lcr-0.0.9-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: informe about Least Cost Routing (LCR)" +HOMEPAGE="http://lcr.vdr-developer.org" +SRC_URI="http://lcr.vdr-developer.org/downloads/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.7" +RDEPEND=">=dev-perl/libwww-perl-5.69-r2 + >=dev-perl/HTML-Parser-3.34-r1 + >=www-client/lynx-2.8.4" + +PATCHES=( "${FILESDIR}/${P}_gcc-6.patch" ) + +src_install() { + vdr-plugin-2_src_install + + dobin contrib/vdr-lcr-retrieve_data.pl +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + echo + elog "By default, this plugin only supports the German telephone network" + elog "Find more info in /usr/bin/vdr-lcr-retrieve-data.pl how to add your" + elog "own Provider-Parser, or contact the maintainer" +} |