summaryrefslogtreecommitdiffstats
path: root/package/vlc/0004-Drop-error-implicit-function-declaration-compile-fla.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/vlc/0004-Drop-error-implicit-function-declaration-compile-fla.patch')
-rw-r--r--package/vlc/0004-Drop-error-implicit-function-declaration-compile-fla.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/vlc/0004-Drop-error-implicit-function-declaration-compile-fla.patch b/package/vlc/0004-Drop-error-implicit-function-declaration-compile-fla.patch
new file mode 100644
index 0000000000..62666b3dae
--- /dev/null
+++ b/package/vlc/0004-Drop-error-implicit-function-declaration-compile-fla.patch
@@ -0,0 +1,32 @@
+From d4806743a059ec6720b5c29e7345390978614fc9 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Tue, 1 May 2018 22:29:29 +0200
+Subject: [PATCH] Drop error-implicit-function-declaration compile flag
+
+Fix compile warning being treated as error:
+
+codec/svg.c: In function 'DecodeBlock':
+codec/svg.c:240:5: error: implicit declaration of function 'rsvg_handle_render_cairo' [-Werror=implicit-function-declaration]
+cc1: some warnings being treated as errors
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9a37656ddd..b14ba46797 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -867,7 +867,7 @@ dnl
+ dnl Compiler warnings
+ dnl
+
+-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])
++RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var])
+ RDC_PROG_CC_FLAGS([-pipe])
+ AC_LANG_PUSH([C++])
+ RDC_PROG_CXX_WFLAGS([all extra sign-compare undef pointer-arith volatile-register-var])
+--
+2.14.3
+
OpenPOWER on IntegriCloud