[performous] 01/05: Add ffmpeg_2.9.patch.
Markus Koschany
apo-guest at moszumanska.debian.org
Sun Nov 8 20:42:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository performous.
commit 36fbfb5b04670886c2e11a46070799403bf45b07
Author: Markus Koschany <apo at debian.org>
Date: Sun Nov 8 21:12:26 2015 +0100
Add ffmpeg_2.9.patch.
Fix FTBFS with upcoming ffmpeg 2.9 transition.
Thanks: Andreas Cadhalpun for the report and patch.
Closes: #803853
---
debian/patches/ffmpeg_2.9.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/ffmpeg_2.9.patch b/debian/patches/ffmpeg_2.9.patch
new file mode 100644
index 0000000..3a6d2d0
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,15 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
+Last-Update: <2015-11-02>
+
+--- performous-1.0+git150721.orig/game/ffmpeg.cc
++++ performous-1.0+git150721/game/ffmpeg.cc
+@@ -116,7 +116,7 @@ void FFmpeg::open() {
+ height = cc->height;
+ m_swsContext = sws_getContext(
+ cc->width, cc->height, cc->pix_fmt,
+- width, height, PIX_FMT_RGB24,
++ width, height, AV_PIX_FMT_RGB24,
+ SWS_POINT, nullptr, nullptr, nullptr);
+ break;
+ default: // Should never be reached but avoids compile warnings
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a827249
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ffmpeg_2.9.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/performous.git
More information about the Pkg-games-commits
mailing list