about summary refs log tree commit diff
path: root/debian/patches/51-normalized-keys.patch
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-03-07 01:41:32 +0100
committerMichael Biebl <biebl@debian.org>2011-03-07 01:43:02 +0100
commit0b54ec06213eafd7f8d0f4cad03f1c043ebcfa9f (patch)
tree47b568c74462dad0f7a3fd34762de8281765f30d /debian/patches/51-normalized-keys.patch
parent55b6f33dd9e57c9ede3141fc74c41fd731708984 (diff)
Fix build failure with more-warnings enabled
Don't mix code and declaration.
Diffstat (limited to 'debian/patches/51-normalized-keys.patch')
-rw-r--r--debian/patches/51-normalized-keys.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches/51-normalized-keys.patch b/debian/patches/51-normalized-keys.patch
index 8411ca8b..f0404913 100644
--- a/debian/patches/51-normalized-keys.patch
+++ b/debian/patches/51-normalized-keys.patch
@@ -1,7 +1,7 @@
 Index: network-manager/system-settings/plugins/ifupdown/interface_parser.c
 ===================================================================
---- network-manager.orig/system-settings/plugins/ifupdown/interface_parser.c	2011-03-06 20:49:32.229089569 +0100
-+++ network-manager/system-settings/plugins/ifupdown/interface_parser.c	2011-03-06 20:53:09.749089571 +0100
+--- network-manager.orig/system-settings/plugins/ifupdown/interface_parser.c	2011-03-07 01:42:18.420352746 +0100
++++ network-manager/system-settings/plugins/ifupdown/interface_parser.c	2011-03-07 01:42:25.152352746 +0100
 @@ -51,6 +51,7 @@
  void add_data(const char *key,const char *data)
  {
@@ -24,8 +24,8 @@ Index: network-manager/system-settings/plugins/ifupdown/interface_parser.c
  	if (last->info == NULL)
 Index: network-manager/system-settings/plugins/ifupdown/plugin.c
 ===================================================================
---- network-manager.orig/system-settings/plugins/ifupdown/plugin.c	2011-03-06 20:49:36.721089570 +0100
-+++ network-manager/system-settings/plugins/ifupdown/plugin.c	2011-03-06 20:50:13.493089573 +0100
+--- network-manager.orig/system-settings/plugins/ifupdown/plugin.c	2011-03-07 01:42:23.988352746 +0100
++++ network-manager/system-settings/plugins/ifupdown/plugin.c	2011-03-07 01:42:25.156352746 +0100
 @@ -368,7 +368,7 @@
  			/* Bridge configuration */
  			if(!strncmp ("br", block->name, 2)) {
@@ -33,5 +33,5 @@ Index: network-manager/system-settings/plugins/ifupdown/plugin.c
 -				const char *ports = ifparser_getkey (block, "bridge_ports");
 +				const char *ports = ifparser_getkey (block, "bridge-ports");
  				if (ports) {
- 					PLUGIN_PRINT("SCPlugin-Ifupdown", "found bridge ports %s for %s", ports, block->name);
- 					char **port_ifaces = g_strsplit_set (ports, " \t", -1);
+ 					int i;
+ 					int state = 0;