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" \