The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / vlc / 0004-implicit-function-declaration.patch
1 Fix compile warning being treated as error:
2
3 codec/svg.c: In function 'DecodeBlock':
4 codec/svg.c:240:5: error: implicit declaration of function 'rsvg_handle_render_cairo' [-Werror=implicit-function-declaration]
5 cc1: some warnings being treated as errors
6
7 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
8
9 diff -uNr vlc-2.2.1.org/configure.ac vlc-2.2.1/configure.ac
10 --- vlc-2.2.1.org/configure.ac  2015-04-13 09:57:54.000000000 +0200
11 +++ vlc-2.2.1/configure.ac      2015-04-24 20:54:35.349039010 +0200
12 @@ -864,7 +864,7 @@
13  dnl  Compiler warnings
14  dnl
15  
16 -RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var error-implicit-function-declaration])
17 +RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var])
18  RDC_PROG_CC_FLAGS([-pipe])
19  AC_LANG_PUSH([C++])
20  RDC_PROG_CXX_WFLAGS([all extra sign-compare undef pointer-arith volatile-register-var])