Ignore GTK deprecated symbols
This commit is contained in:
parent
ba531f599f
commit
08d5cbe0e2
@ -29,6 +29,7 @@ Patch3: nm-applet-no-notifications.patch
|
||||
Patch4: nm-polkit-permissive.patch
|
||||
Patch5: nm-applet-wifi-dialog-ui-fixes.patch
|
||||
Patch6: nss-error.patch
|
||||
Patch7: applet-ignore-deprecated.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires(post): chkconfig
|
||||
@ -192,6 +193,7 @@ tar -xjf %{SOURCE1}
|
||||
%patch4 -p1 -b .polkit-permissive
|
||||
%patch5 -p1 -b .applet-wifi-ui
|
||||
%patch6 -p1 -b .nss-error
|
||||
%patch7 -p1 -b .no-deprecated
|
||||
|
||||
%build
|
||||
|
||||
|
12
applet-ignore-deprecated.patch
Normal file
12
applet-ignore-deprecated.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user