packages: NetworkManager/NetworkManager.spec, NetworkManager/NetworkManager...

qboosh qboosh at pld-linux.org
Sun Sep 19 16:12:22 CEST 2010


Author: qboosh                       Date: Sun Sep 19 14:12:22 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added compile patch (fixes 2 warnings, one of which seems serious)

---- Files affected:
packages/NetworkManager:
   NetworkManager.spec (1.70 -> 1.71) , NetworkManager-compile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/NetworkManager/NetworkManager.spec
diff -u packages/NetworkManager/NetworkManager.spec:1.70 packages/NetworkManager/NetworkManager.spec:1.71
--- packages/NetworkManager/NetworkManager.spec:1.70	Sun Sep 19 14:23:40 2010
+++ packages/NetworkManager/NetworkManager.spec	Sun Sep 19 16:12:17 2010
@@ -12,6 +12,7 @@
 Source1:	%{name}.conf
 Patch0:		%{name}-pld.patch
 Patch1:		%{name}-plugins-Makefile.patch
+Patch2:		%{name}-compile.patch
 URL:		http://projects.gnome.org/NetworkManager/
 BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake >= 1:1.9
@@ -112,6 +113,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__intltoolize}
@@ -244,6 +246,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2010/09/19 14:12:17  qboosh
+- added compile patch (fixes 2 warnings, one of which seems serious)
+
 Revision 1.70  2010/09/19 12:23:40  qboosh
 - more versioned runtime/-devel deps
 

================================================================
Index: packages/NetworkManager/NetworkManager-compile.patch
diff -u /dev/null packages/NetworkManager/NetworkManager-compile.patch:1.1
--- /dev/null	Sun Sep 19 16:12:23 2010
+++ packages/NetworkManager/NetworkManager-compile.patch	Sun Sep 19 16:12:17 2010
@@ -0,0 +1,25 @@
+* Fix usage of uninitialized `addr'
+* Kill qualifier without effect
+--- NetworkManager-0.8.1/system-settings/plugins/ifcfg-rh/reader.c.orig	2010-07-22 01:48:36.000000000 +0200
++++ NetworkManager-0.8.1/system-settings/plugins/ifcfg-rh/reader.c	2010-09-19 15:30:03.444556463 +0200
+@@ -907,7 +907,8 @@ parse_full_ip6_address (const char *addr
+ 	if (g_strv_length (list) < 1) {
+ 		g_set_error (error, ifcfg_plugin_error_quark (), 0,
+ 		             "Invalid IP6 address '%s'", addr_str);
+-		goto error;
++		g_strfreev (list);
++		return NULL;
+ 	}
+ 
+ 	ip_tag = list[0];
+--- NetworkManager-0.8.1/src/nm-udev-manager.c.orig	2010-06-30 20:55:33.000000000 +0200
++++ NetworkManager-0.8.1/src/nm-udev-manager.c	2010-09-19 15:07:53.632556463 +0200
+@@ -226,7 +226,7 @@ killswitch_find_by_name (NMUdevManager *
+ 	return NULL;
+ }
+ 
+-static const RfKillType
++static RfKillType
+ rfkill_type_to_enum (const char *str)
+ {
+ 	g_return_val_if_fail (str != NULL, RFKILL_TYPE_UNKNOWN);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/NetworkManager/NetworkManager.spec?r1=1.70&r2=1.71&f=u



More information about the pld-cvs-commit mailing list