0004-implicit-function-declaration.patch 1002 B

1234567891011121314151617181920
  1. Fix compile warning being treated as error:
  2. codec/svg.c: In function 'DecodeBlock':
  3. codec/svg.c:240:5: error: implicit declaration of function 'rsvg_handle_render_cairo' [-Werror=implicit-function-declaration]
  4. cc1: some warnings being treated as errors
  5. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  6. diff -uNr vlc-2.2.1.org/configure.ac vlc-2.2.1/configure.ac
  7. --- vlc-2.2.1.org/configure.ac 2015-04-13 09:57:54.000000000 +0200
  8. +++ vlc-2.2.1/configure.ac 2015-04-24 20:54:35.349039010 +0200
  9. @@ -864,7 +864,7 @@
  10. dnl Compiler warnings
  11. dnl
  12. -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])
  13. +RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var])
  14. RDC_PROG_CC_FLAGS([-pipe])
  15. AC_LANG_PUSH([C++])
  16. RDC_PROG_CXX_WFLAGS([all extra sign-compare undef pointer-arith volatile-register-var])