From: Steve Youngs Date: Wed, 11 May 2011 23:50:23 +0000 (+1000) Subject: Fix building with current git FFmpeg X-Git-Tag: v22.1.15~119 X-Git-Url: http://cgit.sxemacs.org/?p=sxemacs;a=commitdiff_plain;h=ad9e2b4f262ca555dc96b5f473a4f55709ad620c Fix building with current git FFmpeg * m4/sxe-mm.m4 (SXE_MM_CHECK_FFMPEG): Turn off -Werror in the test to see if url_fopen() needs ByteIOContext**. That stuff is now deprecated in current FFmpeg git repo. This patch allows SXEmacs to build with it, although, with loads of warnings. Yeah, I'm on it. :-) Signed-off-by: Steve Youngs --- diff --git a/m4/sxe-mm.m4 b/m4/sxe-mm.m4 index 919cad7..b1842bd 100644 --- a/m4/sxe-mm.m4 +++ b/m4/sxe-mm.m4 @@ -380,7 +380,7 @@ dnl _SXE_CHECK_pkgconfig_based([ffmpeg], [libavformat], [49.0.0]) SXE_DUMP_LIBS CPPFLAGS="$CPPFLAGS ${FFMPEG_CPPFLAGS}" - SXE_LANG_WERROR([on]) + SXE_LANG_WERROR([off]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #if defined HAVE_ERRNO_H # include