[renpy] 07/10: Add Replace-removed-macros.patch
Markus Koschany
apo-guest at moszumanska.debian.org
Tue Jan 12 19:41:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository renpy.
commit 18bbc3d107d454b9c3fafe3e39e0c577aff82d03
Author: Markus Koschany <apo at debian.org>
Date: Tue Jan 12 19:25:27 2016 +0100
Add Replace-removed-macros.patch
Thanks: Andreas Cadhalpun for the report and patch.
Closes: #758365
---
debian/patches/Replace-removed-macros.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 20 insertions(+)
diff --git a/debian/patches/Replace-removed-macros.patch b/debian/patches/Replace-removed-macros.patch
new file mode 100644
index 0000000..0d41c1d
--- /dev/null
+++ b/debian/patches/Replace-removed-macros.patch
@@ -0,0 +1,19 @@
+Description: Replace removed macros
+ Replace AVCODEC_MAX_AUDIO_FRAME_SIZE with its previous value 192000.
+
+Author: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
+Last-Update: <2014-04-25>
+
+--- renpy-6.16.5.orig/module/ffdecode.c
++++ renpy-6.16.5/module/ffdecode.c
+@@ -101,8 +101,8 @@ typedef struct VideoState {
+ compensation */
+
+ #ifndef HAS_RESAMPLE
+- uint8_t audio_buf1[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2] __attribute__ ((aligned (16))) ;
+- uint8_t audio_buf2[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2] __attribute__ ((aligned (16))) ;
++ uint8_t audio_buf1[(192000 * 3) / 2] __attribute__ ((aligned (16))) ;
++ uint8_t audio_buf2[(192000 * 3) / 2] __attribute__ ((aligned (16))) ;
+ #else
+ uint8_t *audio_buf1;
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index bfece96..780aabd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
03_checkdir.patch
04_typo.patch
05_pxi_files.patch
+Replace-removed-macros.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/renpy.git
More information about the Pkg-games-commits
mailing list