NetworkManager/applet-ignore-deprecated.patch

13 lines
903 B
Diff
Raw Normal View History

2011-11-10 21:09:58 +00:00
diff -up NetworkManager-0.9.2.0/network-manager-applet-0.9.2.0/m4/compiler_warnings.m4.depre NetworkManager-0.9.2.0/network-manager-applet-0.9.2.0/m4/compiler_warnings.m4
--- NetworkManager-0.9.2.0/network-manager-applet-0.9.2.0/m4/compiler_warnings.m4.depre 2011-11-10 15:03:07.528830185 -0600
+++ NetworkManager-0.9.2.0/network-manager-applet-0.9.2.0/m4/compiler_warnings.m4 2011-11-10 15:05:28.273070638 -0600
@@ -7,7 +7,7 @@ if test "$GCC" = "yes" -a "$set_more_war
AC_MSG_RESULT(yes)
CFLAGS="-Wall -Werror -std=gnu89 $CFLAGS"
- for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
+ for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wno-deprecated-declarations -Wno-error=deprecated-declarations \
-Wdeclaration-after-statement -Wstrict-prototypes \
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
-fno-strict-aliasing; do