Your message dated Tue, 02 Feb 2016 00:05:02 +0000
with message-id <[email protected]>
and subject line Bug#803796: fixed in alsa-plugins 1.1.0-1
has caused the Debian Bug report #803796,
regarding alsa-plugins: FTBFS with FFmpeg 2.9
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
803796: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803796
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: alsa-plugins
Version: 1.0.29-1
Severity: important
Tags: patch
User: [email protected]
Usertags: ffmpeg2.9

Dear Maintainer,

your package fails to build with the upcoming ffmpeg 2.9.
This bug will become release-critical at some point when the
ffmpeg2.9 transition gets closer.

Attached is a patch replacing the deprecated functionality.
It also works with ffmpeg 2.8.
Please apply this patch and forward it upstream, if necessary.

These changes have little regression potential.

Best regards,
Andreas

diff --git a/debian/patches/ffmpeg_2.9.patch b/debian/patches/ffmpeg_2.9.patch
new file mode 100644
index 0000000..dc55fb4
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,38 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <[email protected]>
+Last-Update: <2015-11-02>
+
+--- alsa-plugins-1.0.29.orig/a52/pcm_a52.c
++++ alsa-plugins-1.0.29/a52/pcm_a52.c
+@@ -39,7 +39,7 @@
+ #endif
+ 
+ #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 34, 0)
+-#include <libavutil/audioconvert.h>
++#include <libavutil/channel_layout.h>
+ #include <libavutil/mem.h>
+ #define USE_AVCODEC_FRAME
+ #endif
+@@ -512,7 +512,9 @@ static void a52_free(struct a52_ctx *rec
+ 		av_freep(&rec->frame->data[0]);
+ 		rec->inbuf = NULL;
+ 	}
+-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 28, 0)
++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 45, 101)
++	av_frame_free(&rec->frame);
++#elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 28, 0)
+ 	avcodec_free_frame(&rec->frame);
+ #else
+ 	av_freep(&rec->frame);
+@@ -557,7 +559,11 @@ static int alloc_input_buffer(snd_pcm_io
+ {
+ 	struct a52_ctx *rec = io->private_data;
+ #ifdef USE_AVCODEC_FRAME
++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 45, 101)
++	rec->frame = av_frame_alloc();
++#else
+ 	rec->frame = avcodec_alloc_frame();
++#endif
+ 	if (!rec->frame)
+ 		return -ENOMEM;
+ 	if (av_samples_alloc(rec->frame->data, rec->frame->linesize,
diff --git a/debian/patches/series b/debian/patches/series
index 67e0584..19f4ddd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 arcam-av_uses_pthreads.patch
 libav10.patch
+ffmpeg_2.9.patch

--- End Message ---
--- Begin Message ---
Source: alsa-plugins
Source-Version: 1.1.0-1

We believe that the bug you reported is fixed in the latest version of
alsa-plugins, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <[email protected]> (supplier of updated alsa-plugins package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 02 Feb 2016 00:04:04 +0100
Source: alsa-plugins
Binary: libasound2-plugins
Architecture: source amd64
Version: 1.1.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian ALSA Maintainers <[email protected]>
Changed-By: Jordi Mallach <[email protected]>
Description:
 libasound2-plugins - ALSA library additional plugins
Closes: 803796
Changes:
 alsa-plugins (1.1.0-1) unstable; urgency=medium
 .
   [ Luke Yelavich ]
   * New upstream release
   * Update changelog.ALSA
 .
   [ Elimar Riesebieter ]
   * FTBFS with ffmpeg 2.9. Applied ffmpeg_2.9.patch provided by
     Andreas Cadhalpun (closes: 803796).
 .
   [ Jordi Mallach ]
   * Use https for Vcs-Browser.
Checksums-Sha1:
 fd00b5124cabad6f36fb1bc42578a38214bf496e 2304 alsa-plugins_1.1.0-1.dsc
 1436db17989468d082691b817b338e44ba932c4b 366296 alsa-plugins_1.1.0.orig.tar.bz2
 5e3ffc019736e029d310b47545e62179bd3db974 14264 
alsa-plugins_1.1.0-1.debian.tar.xz
 99b88bcfc283e6dcdb7d3c962c89e09be0715799 185774 
libasound2-plugins-dbgsym_1.1.0-1_amd64.deb
 14c72c1c5859643d04702d8265725898a0eb0b47 73170 
libasound2-plugins_1.1.0-1_amd64.deb
Checksums-Sha256:
 b7405086a65752190e48475074281c1eff9d21598d508feca168501eee67c040 2304 
alsa-plugins_1.1.0-1.dsc
 3b83c329953bef99f5fe25ae04ec4a455fe6514939f3b45a5321966652b2c9ee 366296 
alsa-plugins_1.1.0.orig.tar.bz2
 d04b949494a5626ed0cbd86a268c2b5a1fd3dc99a848cb7300b8f0158dcd6a5f 14264 
alsa-plugins_1.1.0-1.debian.tar.xz
 bf05d7ddd86d0754d95a4cf974f8dd22787dcea12f37328ee82b5136980f7bd8 185774 
libasound2-plugins-dbgsym_1.1.0-1_amd64.deb
 67d96070fa2213d88d8b7c914204d97db9aef6f21fac4be9fd7cf7413c1e2bdf 73170 
libasound2-plugins_1.1.0-1_amd64.deb
Files:
 2182b177689719ce30695974c4377f17 2304 libs optional alsa-plugins_1.1.0-1.dsc
 b123e42ed881b9adbc99e4040f257c39 366296 libs optional 
alsa-plugins_1.1.0.orig.tar.bz2
 3cac15ebf8c56957a7e282c365db774f 14264 libs optional 
alsa-plugins_1.1.0-1.debian.tar.xz
 5e4fc4eea5ab313c6b0fdb9e47400a85 185774 debug extra 
libasound2-plugins-dbgsym_1.1.0-1_amd64.deb
 e93ed42e8cc026bc38b81b0afc6b80bd 73170 libs optional 
libasound2-plugins_1.1.0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWr+1QAAoJECVQL2/L48sEIXgP/A+Lwkfabe63djs/NxznaTDX
/mfbnvrsPBfP6Wu1cVwXknnJilvv20ZbcGmuVjUUeJZvjOeTotz+X2N2bS5Drf9t
hQ/VEyH2xQE7wr7jGIIsv8exuSIcHzu8F4WAtmrFYT7tmPUbIAyQDJKM5Z4Hl8YH
BoMtsuJx+D2J5YIybncIgPkhy8RAjSx7Uhui9564P4cqD+oZjM/KYRUxE3nm6ORo
8D+DwfmXsz6cZA0mHqiEiQN9i4bXT6kpOVL8F2bT06QzpHZd+tpXkPKY1FPFljrz
h1E/Vh70LEcpA5iSAHKfjUFWTdaiq7E+kMEWsdRP8VQq02kod42CWRl8amxtwhp6
RXihMPGaxgXNU4v62uRUoT2NRfkxraDyLRyYfCa2Zhr6QtmvGXlw+3UZF/ddd+1U
tcdJtCa21qTZKLK987OMbPF1BRJ37PN4zrhBJsIzqkCFMbWZDo85C40ARnGE2LoG
SpoMtDQHIEIWpqVwG48DAI4UUHAFZq22dhEP055+icgQjwEfFfSDmz27PbVQzFyc
rLqI/pc+rk3OSTQcOumAqB8Bl7MuiSFm4br4jey8+mndmeqLb68FD+qBxl4puyzl
NqEt1RxIngnKQVfn8rPUpTC1+dUeR5xE61QA7BUD3W3kWkdfA+QwF2K2k4V1QEOQ
WPpT8CWEKVpwUPNbIz7r
=WQvn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to