rpms/NetworkManager/devel no-strict-aliasing.patch, NONE, 1.1 NetworkManager.spec, 1.193, 1.194

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Fri Feb 8 03:16:05 UTC 2008


Author: dcbw

Update of /cvs/extras/rpms/NetworkManager/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24610

Modified Files:
	NetworkManager.spec 
Added Files:
	no-strict-aliasing.patch 
Log Message:
turn off strict aliasing for Rawhide; glib's mutex functions fail

no-strict-aliasing.patch:

--- NEW FILE no-strict-aliasing.patch ---
diff -up NetworkManager-0.7.0/configure.in.foo NetworkManager-0.7.0/configure.in
--- NetworkManager-0.7.0/configure.in.foo	2008-02-07 22:12:04.000000000 -0500
+++ NetworkManager-0.7.0/configure.in	2008-02-07 22:12:57.000000000 -0500
@@ -238,7 +238,8 @@ if test "$GCC" = "yes" -a "$set_more_war
 
 	for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
 		      -Wdeclaration-after-statement -Wstrict-prototypes \
-		      -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare; do
+		      -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
+		      -Wno-strict-aliasing; do
 		SAVE_CFLAGS="$CFLAGS"
 		CFLAGS="$CFLAGS $option"
 		AC_MSG_CHECKING([whether gcc understands $option])


Index: NetworkManager.spec
===================================================================
RCS file: /cvs/extras/rpms/NetworkManager/devel/NetworkManager.spec,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -r1.193 -r1.194
--- NetworkManager.spec	7 Feb 2008 23:12:50 -0000	1.193
+++ NetworkManager.spec	8 Feb 2008 03:15:08 -0000	1.194
@@ -24,6 +24,7 @@
 Source2: nm-system-settings.conf
 Patch1: NetworkManager-0.6.5-fixup-internal-applet-build.patch
 Patch2: nm-applet-0.7.0-disable-stuff.patch
+Patch3: no-strict-aliasing.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 PreReq:   chkconfig
@@ -132,6 +133,7 @@
 tar -xzf %{SOURCE1}
 %patch1 -p1 -b .buildfix
 %patch2 -p1 -b .disable-stuff
+%patch3 -p1 -b .no-strict-aliasing
 
 %build
 # Even though we don't require named, we still build with it




More information about the fedora-extras-commits mailing list