Bug#747867: renpy: FTBFS against libav 10
Colin Watson
cjwatson at debian.org
Sun Jun 22 17:33:44 UTC 2014
Control: tag -1 patch
On Mon, May 12, 2014 at 02:21:20PM +0200, Sebastian Ramacher wrote:
> renpy fails to build against libav 10:
> | x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/include -I/usr/include/SDL -I/usr/include/freetype2 -I/usr/include/python2.7 -c ffdecode.c -o build/temp.linux-x86_64-2.7/ffdecode.o -Wno-unused-function
> | ffdecode.c:104:25: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared here (not in a function)
> | uint8_t audio_buf1[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2] __attribute__ ((aligned (16))) ;
> | ^
[...]
This was all fixed upstream a while back, but the fix is conditional on
libavresample being available. Thus, adding a build-dependency is
enough to fix this:
* Build-depend on libavresample-dev (closes: #747867).
diff -Nru renpy-6.16.5/debian/control renpy-6.16.5/debian/control
--- renpy-6.16.5/debian/control 2014-02-18 23:42:58.000000000 +0000
+++ renpy-6.16.5/debian/control 2014-06-22 18:21:03.000000000 +0100
@@ -9,7 +9,7 @@
libsdl-sound1.2-dev, libsdl-ttf2.0-dev, libmodplug-dev, libspeex-dev,
libavutil-dev, libavformat-dev, libavcodec-dev, libswscale-dev,
libfribidi-dev, libglew1.5-dev, zlib1g-dev, libfreetype6-dev,
- libpng12-dev
+ libpng12-dev, libavresample-dev
Standards-Version: 3.9.5
Homepage: http://www.renpy.org/
XS-Python-Version: >= 2.6
Thanks,
--
Colin Watson [cjwatson at debian.org]
More information about the Pkg-games-devel
mailing list