commit:     eeaf86ea76a58a3289bb6127979e1a060937025a
Author:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 16:24:16 2016 +0000
Commit:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 16:25:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeaf86ea

media-plugins/vdr-mailbox: compilefix gcc-6; thx to P.Levine on wrt bug 593946

Package-Manager: portage-2.3.0

 .../files/vdr-mailbox-0.7.0_gcc-6.patch            | 29 ++++++++++++++++++++++
 .../vdr-mailbox/vdr-mailbox-0.7.0-r1.ebuild        | 22 ++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/media-plugins/vdr-mailbox/files/vdr-mailbox-0.7.0_gcc-6.patch 
b/media-plugins/vdr-mailbox/files/vdr-mailbox-0.7.0_gcc-6.patch
new file mode 100644
index 00000000..9647ccb
--- /dev/null
+++ b/media-plugins/vdr-mailbox/files/vdr-mailbox-0.7.0_gcc-6.patch
@@ -0,0 +1,29 @@
+compile fix gcc-6
+https://bugs.gentoo.org/show_bug.cgi?id=593946
+Signed-of-by: Joerg Bornkessel <hd_bru...@gentoo.org> (2016/Oct/16)
+--- mailbox-0.7.0/Makefile.old 2016-09-21 20:42:01.505376511 -0400
++++ mailbox-0.7.0/Makefile     2016-09-21 20:42:06.071280736 -0400
+@@ -149,7 +149,7 @@
+ 
+ INCLUDES +=
+ 
+-DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
++DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -D__STL_CONFIG_H
+ 
+ ### The object files (add further files here):
+ 
+--- mailbox-0.7.0/AxLib/include/Ax/Tools/Trace.h.old   2016-09-21 
20:35:30.849775089 -0400
++++ mailbox-0.7.0/AxLib/include/Ax/Tools/Trace.h       2016-09-21 
20:35:35.926564690 -0400
+@@ -40,9 +40,9 @@
+ 
//-----------------------------------------------------------------------------
+ //     define macros for users
+ 
//-----------------------------------------------------------------------------
+-#define wsdebugsyslog(Y...) dsyslog("mailbox: "Y)
+-#define wswarnsyslog(Y...)  isyslog("mailbox: "Y)
+-#define wserrorsyslog(Y...) esyslog("mailbox: "Y)
++#define wsdebugsyslog(Y...) dsyslog("mailbox: " Y)
++#define wswarnsyslog(Y...)  isyslog("mailbox: " Y)
++#define wserrorsyslog(Y...) esyslog("mailbox: " Y)
+ 
+ #define wsdebug(X) do { } while(0);
+ #define wsinfo(X)  do { wsdebugsyslog X ;} while(0);

diff --git a/media-plugins/vdr-mailbox/vdr-mailbox-0.7.0-r1.ebuild 
b/media-plugins/vdr-mailbox/vdr-mailbox-0.7.0-r1.ebuild
new file mode 100644
index 00000000..0dd397f
--- /dev/null
+++ b/media-plugins/vdr-mailbox/vdr-mailbox-0.7.0-r1.ebuild
@@ -0,0 +1,22 @@
+# 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: MailBox provides access to multiple e-mail accounts"
+HOMEPAGE="http://alex.vdr-developer.org";
+SRC_URI="http://alex.vdr-developer.org/download/${P}.tgz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.7.41
+               >=net-libs/c-client-2002e-r1"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}_gcc-6.patch" )
\ No newline at end of file

Reply via email to