public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/gejengel/, media-sound/gejengel/files/
Date: Mon,  8 Feb 2016 14:26:50 +0000 (UTC)	[thread overview]
Message-ID: <1454941585.addbbd92ed53afa393e36644f8fe7af16431c6ce.idella4@gentoo> (raw)

commit:     addbbd92ed53afa393e36644f8fe7af16431c6ce
Author:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 14:06:01 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 14:26:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=addbbd92

media-sound/gejengel: Patch to fix compilation with USE="debug"

Patch provided by the proxy maintainer sourced from gentoo bug
Patch backported from 0.1.6

Gentoo bug: #570478

Package-Manager: portage-2.2.26

 media-sound/gejengel/files/bckport-debug.patch | 14 ++++++++++++++
 media-sound/gejengel/gejengel-0.1.4-r2.ebuild  |  5 +++--
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/media-sound/gejengel/files/bckport-debug.patch b/media-sound/gejengel/files/bckport-debug.patch
new file mode 100644
index 0000000..76e42be
--- /dev/null
+++ b/media-sound/gejengel/files/bckport-debug.patch
@@ -0,0 +1,14 @@
+--- src/AudioDecoder/ffmpegdecoder.cpp.orig
++++ src/AudioDecoder/ffmpegdecoder.cpp
+@@ -98,7 +98,11 @@ void FFmpegDecoder::initialise()
+     }
+ 
+ #ifdef ENABLE_DEBUG
++#if LIBAVCODEC_VERSION_MAJOR < 53
+     dump_format(m_pFormatContext, 0, m_Filepath.c_str(), false);
++#else
++    av_dump_format(m_pFormatContext, 0, m_Filepath.c_str(), false);
++#endif
+ #endif
+ 
+     initializeAudio();

diff --git a/media-sound/gejengel/gejengel-0.1.4-r2.ebuild b/media-sound/gejengel/gejengel-0.1.4-r2.ebuild
index 2a4d426..a442f3b 100644
--- a/media-sound/gejengel/gejengel-0.1.4-r2.ebuild
+++ b/media-sound/gejengel/gejengel-0.1.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -42,7 +42,8 @@ src_prepare() {
 		"${FILESDIR}"/${P}-ffmpeg-1.patch \
 		"${FILESDIR}"/${P}-libav9.patch \
 		"${FILESDIR}"/${P}-ffmpeg2.patch \
-		"${FILESDIR}"/${PV}-flac_ln.patch
+		"${FILESDIR}"/${PV}-flac_ln.patch \
+		"${FILESDIR}"/bckport-debug.patch
 
 	# Remove Vesion and Encoding from the desktop file
 	sed -i -e "/Version/d" -e "/Encoding/d" \


                 reply	other threads:[~2016-02-08 14:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1454941585.addbbd92ed53afa393e36644f8fe7af16431c6ce.idella4@gentoo \
    --to=idella4@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