summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2016-09-28 12:00:24 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2016-09-28 12:00:24 +0200
commita53103f1f4d4d8d870b1e7af76c3e3946b1da535 (patch)
treefa1259a56a8c11c759da30b93359efdb9764f031 /media-plugins/vdr-rssreader
parentkde-frameworks: remove 5.25.0 (diff)
downloadgentoo-a53103f1f4d4d8d870b1e7af76c3e3946b1da535.tar.gz
gentoo-a53103f1f4d4d8d870b1e7af76c3e3946b1da535.tar.bz2
gentoo-a53103f1f4d4d8d870b1e7af76c3e3946b1da535.zip
media-plugins/vdr-rssreader: fixed compile c++11, wrt bug 594470
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-plugins/vdr-rssreader')
-rw-r--r--media-plugins/vdr-rssreader/files/vdr-rssreader-2.2.1_c++11.patch16
-rw-r--r--media-plugins/vdr-rssreader/vdr-rssreader-2.2.1-r1.ebuild32
2 files changed, 48 insertions, 0 deletions
diff --git a/media-plugins/vdr-rssreader/files/vdr-rssreader-2.2.1_c++11.patch b/media-plugins/vdr-rssreader/files/vdr-rssreader-2.2.1_c++11.patch
new file mode 100644
index 00000000000..74d7593dca1
--- /dev/null
+++ b/media-plugins/vdr-rssreader/files/vdr-rssreader-2.2.1_c++11.patch
@@ -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:
diff --git a/media-plugins/vdr-rssreader/vdr-rssreader-2.2.1-r1.ebuild b/media-plugins/vdr-rssreader/vdr-rssreader-2.2.1-r1.ebuild
new file mode 100644
index 00000000000..c6f688f8123
--- /dev/null
+++ b/media-plugins/vdr-rssreader/vdr-rssreader-2.2.1-r1.ebuild
@@ -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"
+}