public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joerg Bornkessel" <hd_brummy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-mp3ng/
Date: Fri, 30 Sep 2016 06:11:58 +0000 (UTC)	[thread overview]
Message-ID: <1475215877.3a059ddca5381eb7769adb3e63719e58b89f4945.hd_brummy@gentoo> (raw)

commit:     3a059ddca5381eb7769adb3e63719e58b89f4945
Author:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 06:11:17 2016 +0000
Commit:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 06:11:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a059ddc

media-plugins/vdr-mp3ng: fix gcc-6 compile, wrt bug 595248; fix compile >=vdr-2.1.2

Package-Manager: portage-2.3.0

 media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5.ebuild b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5.ebuild
index 1972d64..ce1d732 100644
--- a/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5.ebuild
+++ b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-inherit vdr-plugin-2
+inherit vdr-plugin-2 flag-o-matic
 
 MY_PV=0.9.13-MKIV-pre3
 MY_P=${PN}-${MY_PV}
@@ -34,6 +34,9 @@ DEPEND=">=media-video/vdr-1.6
 src_prepare() {
 	vdr-plugin-2_src_prepare
 
+	# wrt bug 595248
+	append-cxxflags $(test-flags-CXX -std=gnu++03) -std=gnu++03
+
 	epatch "${FILESDIR}/${PN}-0.0.1_pre4-gentoo.diff"
 	epatch "${FILESDIR}/${PN}-0.0.1_pre4-gcc4.diff"
 	epatch "${DISTDIR}/${PN}-0.0.1_pre4-span-0.0.3.diff.tar.gz"
@@ -50,6 +53,10 @@ src_prepare() {
 	has_version ">=media-gfx/imagemagick-6.4" && epatch "${FILESDIR}/imagemagick-6.4.x.diff"
 
 	sed -i mp3ng.c -e "s:RegisterI18n:// RegisterI18n:"
+
+	if has_version ">=media-video/vdr-2.1.2"; then
+		sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" -i decoder.c
+	fi
 }
 
 src_install() {


             reply	other threads:[~2016-09-30  6:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30  6:11 Joerg Bornkessel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-11-26 23:06 [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-mp3ng/ David Seifert
2019-12-11 22:43 Joerg Bornkessel
2020-01-12 18:38 Jörg Bornkessel
2021-05-11 19:30 Jörg Bornkessel
2021-05-13 18:16 Jörg Bornkessel
2021-08-16 21:28 Sam James
2023-12-24 23:07 Conrad Kostecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475215877.3a059ddca5381eb7769adb3e63719e58b89f4945.hd_brummy@gentoo \
    --to=hd_brummy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox