vlc-2.0.7/noerrorimplicit.patch

24 lines
1.2 KiB
Diff

diff -rupN vlc-2.0.4.orig/configure vlc-2.0.4/configure
--- vlc-2.0.4.orig/configure 2012-10-19 20:37:03.244228373 -0400
+++ vlc-2.0.4/configure 2012-10-19 20:39:03.086229156 -0400
@@ -24763,7 +24763,7 @@ fi
LIBS="${LIBS_save}"
- for a in all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var error-implicit-function-declaration; do
+ for a in all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var; do
CFLAGS_save="${CFLAGS}"
diff -rupN vlc-2.0.4.orig/configure.ac vlc-2.0.4/configure.ac
--- vlc-2.0.4.orig/configure.ac 2012-10-19 20:37:03.467228869 -0400
+++ vlc-2.0.4/configure.ac 2012-10-19 20:39:14.668226947 -0400
@@ -873,7 +873,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])