media-plugins/vdr-rssreader: fixed compile c++11, wrt bug 594470

Package-Manager: portage-2.3.0
This commit is contained in:
Joerg Bornkessel
2016-09-28 12:00:24 +02:00
parent 73067d6f89
commit a53103f1f4
2 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
still use function typeof,
this was never defined part of c++ and is
not supported in c++11 anymore
so we revert back to gnu++03 as it is not fixed by upstream
Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (2016/sep/28)
diff -Naur rssreader-2.2.1.orig/Makefile rssreader-2.2.1/Makefile
--- rssreader-2.2.1.orig/Makefile 2016-09-28 11:49:11.239051376 +0200
+++ rssreader-2.2.1/Makefile 2016-09-28 11:49:55.982051376 +0200
@@ -28,6 +28,7 @@
export CFLAGS = $(call PKGCFG,cflags)
export CXXFLAGS = $(call PKGCFG,cxxflags)
+export CXXFLAGS += -std=gnu++03
STRIP ?= /bin/true
### The version number of VDR's plugin API:

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit vdr-plugin-2
DESCRIPTION="VDR Plugin: RSS reader"
HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/"
SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/files/${P}.tgz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-video/vdr-2.2.0
>=dev-libs/expat-1.95.8
>=net-misc/curl-7.15.1-r1"
RDEPEND="${DEPEND}"
PATCHES=("${FILESDIR}/${PN}-2.0.0-gentoo.diff"
"${FILESDIR}/${P}_c++11.patch" )
src_install() {
vdr-plugin-2_src_install
insinto /etc/vdr/plugins/rssreader
doins "${S}/rssreader/rssreader.conf"
}