diff mbox

[1/1] package/vlc: Fix compile warning being treated as error

Message ID 1429905652-16930-1-git-send-email-bernd.kuhls@t-online.de
State Accepted
Headers show

Commit Message

Bernd Kuhls April 24, 2015, 8 p.m. UTC
Fixes
http://autobuild.buildroot.net/results/b14/b149dcd9bfcf9e69cf7fa16636c3089a6673769a/
http://autobuild.buildroot.net/results/d45/d45c4abcd22d99edaff8943b0073a94dcd972ab5/
http://autobuild.buildroot.net/results/1f6/1f6a4a9084a9d07bdd8d6c6dafeedb38d27c0b8f/
http://autobuild.buildroot.net/results/8f0/8f05242257a0ed059d5258c4a83ab26095516917/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 .../vlc/0004-implicit-function-declaration.patch   |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 package/vlc/0004-implicit-function-declaration.patch

Comments

Thomas Petazzoni April 25, 2015, 9:42 a.m. UTC | #1
Dear Bernd Kuhls,

On Fri, 24 Apr 2015 22:00:52 +0200, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/b14/b149dcd9bfcf9e69cf7fa16636c3089a6673769a/
> http://autobuild.buildroot.net/results/d45/d45c4abcd22d99edaff8943b0073a94dcd972ab5/
> http://autobuild.buildroot.net/results/1f6/1f6a4a9084a9d07bdd8d6c6dafeedb38d27c0b8f/
> http://autobuild.buildroot.net/results/8f0/8f05242257a0ed059d5258c4a83ab26095516917/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  .../vlc/0004-implicit-function-declaration.patch   |   20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 package/vlc/0004-implicit-function-declaration.patch

Applied, thanks. If you have the courage of submitting our 4 VLC
patches upstream, it would be great :-)

Thanks,

Thomas
Bernd Kuhls April 27, 2015, 5:01 p.m. UTC | #2
Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
@public.gmane.org> wrote in news:20150425114220.3f518a79@free-electrons.com:

> Applied, thanks. If you have the courage of submitting our 4 VLC
> patches upstream, it would be great :-)

Hi,

I will do so when vlc does not throw compile errors on the autobuilders 
anymore ;) Btw, I will send another vlc patch in a few seconds ;)

Regards, Bernd
diff mbox

Patch

diff --git a/package/vlc/0004-implicit-function-declaration.patch b/package/vlc/0004-implicit-function-declaration.patch
new file mode 100644
index 0000000..515453d
--- /dev/null
+++ b/package/vlc/0004-implicit-function-declaration.patch
@@ -0,0 +1,20 @@ 
+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>
+
+diff -uNr vlc-2.2.1.org/configure.ac vlc-2.2.1/configure.ac
+--- vlc-2.2.1.org/configure.ac	2015-04-13 09:57:54.000000000 +0200
++++ vlc-2.2.1/configure.ac	2015-04-24 20:54:35.349039010 +0200
+@@ -864,7 +864,7 @@
+ 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])