[SCM] silan/master: Add upstream patch to fix FTBFS with libav 10

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Mon Feb 24 16:54:48 UTC 2014


The following commit has been merged in the master branch:
commit a0a21e696ff752663dab3f8ea1a0406bca8cbca7
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Mon Feb 24 17:48:58 2014 +0100

    Add upstream patch to fix FTBFS with libav 10

diff --git a/debian/patches/libav10.patch b/debian/patches/libav10.patch
new file mode 100644
index 0000000..c7fbcac
--- /dev/null
+++ b/debian/patches/libav10.patch
@@ -0,0 +1,18 @@
+Description: Fix build with libav 10
+Origin: upstream,
+ https://github.com/x42/silan/commit/3e83b80a7f558aa780ea4e42c7414b33482e1b1f
+Last-Update: 2014-02-24
+
+--- a/audio_decoder/ffcompat.h
++++ b/audio_decoder/ffcompat.h
+@@ -33,6 +33,10 @@
+ #include <libavformat/avformat.h>
+ #include <libavutil/avutil.h>
+ 
++#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
++#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
++#endif
++
+ #if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50, 0, 0)
+ #define AVMEDIA_TYPE_AUDIO CODEC_TYPE_AUDIO
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ee77a31
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+libav10.patch

-- 
silan packaging



More information about the pkg-multimedia-commits mailing list