Your message dated Tue, 08 Mar 2016 22:08:46 +0000
with message-id <[email protected]>
and subject line Bug#803820: fixed in goldendict 1.5.0~git20150923-1.1
has caused the Debian Bug report #803820,
regarding goldendict: 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.)


-- 
803820: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803820
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: goldendict
Version: 1.5.0~git20150923-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..12b4579
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,24 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <[email protected]>
+Last-Update: <2015-11-02>
+
+--- goldendict-1.5.0~git20150923.orig/ffmpegaudio.cc
++++ goldendict-1.5.0~git20150923/ffmpegaudio.cc
+@@ -334,7 +334,7 @@ void DecoderContext::closeOutputDevice()
+ 
+ bool DecoderContext::play( QString & errorString )
+ {
+-  AVFrame * frame = avcodec_alloc_frame();
++  AVFrame * frame = av_frame_alloc();
+   if ( !frame )
+   {
+     errorString = QObject::tr( "avcodec_alloc_frame() failed." );
+@@ -383,7 +383,7 @@ bool DecoderContext::play( QString & err
+ #if LIBAVCODEC_VERSION_MAJOR < 54
+   av_free( frame );
+ #else
+-  avcodec_free_frame( &frame );
++  av_frame_free( &frame );
+ #endif
+ 
+   return true;
diff --git a/debian/patches/series b/debian/patches/series
index f6a3906..aad33da 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 disable-autostart-control
 wordnet-dict-paths
+ffmpeg_2.9.patch

--- End Message ---
--- Begin Message ---
Source: goldendict
Source-Version: 1.5.0~git20150923-1.1

We believe that the bug you reported is fixed in the latest version of
goldendict, 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.
Sebastian Ramacher <[email protected]> (supplier of updated goldendict 
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: Sun, 06 Mar 2016 22:23:31 +0100
Source: goldendict
Binary: goldendict
Architecture: source
Version: 1.5.0~git20150923-1.1
Distribution: unstable
Urgency: medium
Maintainer: Dmitry E. Oboukhov <[email protected]>
Changed-By: Sebastian Ramacher <[email protected]>
Description:
 goldendict - feature-rich dictionary lookup program
Closes: 803820
Changes:
 goldendict (1.5.0~git20150923-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Andreas Cadhalpun ]
   * Fix FTBFS against ffmpeg 3.0. (Closes: #803820)
Checksums-Sha1:
 c562ea5c99e83f0ba42ebd1b3e59167688d2cb13 2203 
goldendict_1.5.0~git20150923-1.1.dsc
 2ef8f7dd8d296ae83c3c2ce92fa81519f214abdf 9336 
goldendict_1.5.0~git20150923-1.1.debian.tar.xz
Checksums-Sha256:
 b7d1bb07ea01a161497c566553e5a9ad906853ac9bf51825cb81fe78ea3d3b3f 2203 
goldendict_1.5.0~git20150923-1.1.dsc
 8f386e7bd49ad3ff2e70d86b0f404b283d9ee83ffec1a949ca0b313babbbf642 9336 
goldendict_1.5.0~git20150923-1.1.debian.tar.xz
Files:
 354cae415da950eb4f923adb8cf928d4 2203 utils optional 
goldendict_1.5.0~git20150923-1.1.dsc
 4d872f230bce385e97bf1f28cfe8bb57 9336 utils optional 
goldendict_1.5.0~git20150923-1.1.debian.tar.xz

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

iQIcBAEBCAAGBQJW3KEBAAoJEGny/FFupxmTRoQQALBBqqOKgJZ74OaEFSAPcwcn
iTgpFlgO3shFUstQKoNUQJRet0kcRM5kFAIKBDdROKU9PEW5ExjCtMo2VzK1Af+x
hd5oIgNAfjTD9MKJxYTxowRjj02oxZpTWpK91RfNIMq/qVRy5RIwwGY606pO7Dfr
DNPt3DDKlxCRU9i3IJCscx5oD/8tewH6TAuG0d1ORBkvmjc1P95xECK8ZIUVEbdJ
erefs+6ZQ5D0X9jnwVXoYHDGvJKRYou6cd5NzPyB1YXDz+GKb/7kGGfC842vAzZa
Uz7IzhCZ5uTyTJDcgVwsLUdQ3cUHA7LzgKZwzu66czNFK8ez4BvjSF3xSiF0MlGf
6rYDGO7H87m8ljaxEA5nPVpWbEj7JW5Ng4mEoEdwUHm19/FQTmrWnnpfqCvbQmWI
WtCmgN/DtoZBUN5vlDrL9ZH6XP2XRLvXqUwOAUW7gikWChf6M0e9FnBDrAy6qvjN
Ib1Zh23wzb4nCTt18++iqkRR6o0UwDc1r9LN5RIFsJcePGXqdx1CjpSKStneC0F5
D2hjss2XXohmLiY/EjFGRKpa9qLMA9ChkCrAayXxpHa0xljJKc3dghri/U2Q7nEw
Wg7p0IzIMDybVUDSe8FpuXfvrx5enOnwpJCiGDQJ//jpKmDyd5IhjGVVrs78EBF9
XyyhDUHLB8A/E7v5v9BR
=GYq1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to