[SCM] audacious-plugins/master: Fix FTBFS against libav10

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Mar 16 21:06:38 UTC 2014


The following commit has been merged in the master branch:
commit 4df124f2b474fec7d58c6ad49a9f435215788d0c
Author: Anton Khirnov <anton at khirnov.net>
Date:   Sun Mar 16 16:54:37 2014 -0400

    Fix FTBFS against libav10

diff --git a/debian/patches/libav10.patch b/debian/patches/libav10.patch
new file mode 100644
index 0000000..c0f5129
--- /dev/null
+++ b/debian/patches/libav10.patch
@@ -0,0 +1,23 @@
+From 8398c021f03fc89deab000c91464d1dd2fb8e9b4 Mon Sep 17 00:00:00 2001
+From: Anton Khirnov <anton at khirnov.net>
+Date: Thu, 16 Jan 2014 12:52:59 +0100
+Subject: [PATCH] ffaudio: fix build with latest libavcodec versions
+
+---
+ src/ffaudio/ffaudio-core.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/src/ffaudio/ffaudio-core.c
++++ b/src/ffaudio/ffaudio-core.c
+@@ -283,7 +283,11 @@ ffaudio_codec_is_seekable(AVCodec *codec
+      */
+     switch (codec->id) {
+ #ifndef FFAUDIO_NO_BLACKLIST
++#if CHECK_LIBAVCODEC_VERSION(54, 25, 0)
++        case AV_CODEC_ID_MUSEPACK8:
++#else
+         case CODEC_ID_MUSEPACK8:
++#endif
+             AUDDBG("codec is blacklisted from seeking\n");
+             return FALSE;
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index 1ae2585..d00c45a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-enable_ffaudio.patch
+libav10.patch

-- 
Plugins for audacious



More information about the pkg-multimedia-commits mailing list