aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/networkmanager/files
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-10-03 12:47:46 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-10-03 12:50:39 +0200
commit64ba5082bc67c113ea76071ff4b58a15ed95efb5 (patch)
tree8376ce345fcadc9333c87631a093e31af31fc1eb /recipes/obsolete/networkmanager/files
parent64e9d36c1220a9402c2ad7f708b5d4c5717a2694 (diff)
downloadopenembedded-64ba5082bc67c113ea76071ff4b58a15ed95efb5.tar.gz
networkmanager : moved unused files to obsolete dir
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/obsolete/networkmanager/files')
-rw-r--r--recipes/obsolete/networkmanager/files/dbus-1.0-fix.patch11
-rw-r--r--recipes/obsolete/networkmanager/files/dbus-api-fix.patch20
2 files changed, 31 insertions, 0 deletions
diff --git a/recipes/obsolete/networkmanager/files/dbus-1.0-fix.patch b/recipes/obsolete/networkmanager/files/dbus-1.0-fix.patch
new file mode 100644
index 0000000000..29edc255f0
--- /dev/null
+++ b/recipes/obsolete/networkmanager/files/dbus-1.0-fix.patch
@@ -0,0 +1,11 @@
+--- /tmp/NetworkManagerDbus.c 2006-11-21 11:07:35.000000000 +0100
++++ NetworkManager-0.6.4/src/NetworkManagerDbus.c 2006-11-21 11:08:35.748554000 +0100
+@@ -833,7 +833,7 @@
+ }
+
+ dbus_error_init (&error);
+-#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)
++#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60) || DBUS_VERSION_MAJOR > 0
+ flags = DBUS_NAME_FLAG_DO_NOT_QUEUE; /* Prohibit replacement is now the default */
+ #else
+ flags = DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT;
diff --git a/recipes/obsolete/networkmanager/files/dbus-api-fix.patch b/recipes/obsolete/networkmanager/files/dbus-api-fix.patch
new file mode 100644
index 0000000000..64e60f961b
--- /dev/null
+++ b/recipes/obsolete/networkmanager/files/dbus-api-fix.patch
@@ -0,0 +1,20 @@
+--- /tmp/libnm_glib.c 2006-08-24 22:21:01.000000000 +0200
++++ NetworkManager-0.6.4/gnome/libnm_glib/libnm_glib.c 2006-08-24 22:21:47.888306000 +0200
+@@ -230,7 +230,7 @@
+ {
+ /* Try to reactivate our connection to dbus on the next pass through the event loop */
+ ctx->nm_state = LIBNM_NO_DBUS;
+- dbus_connection_disconnect (ctx->dbus_con);
++ dbus_connection_close (ctx->dbus_con);
+ libnm_glib_schedule_dbus_watcher (ctx);
+ }
+ else if (dbus_message_is_signal (message, DBUS_INTERFACE_DBUS, "NameOwnerChanged"))
+@@ -444,7 +444,7 @@
+ g_main_loop_unref (ctx->g_main_loop);
+
+ if (ctx->dbus_con)
+- dbus_connection_disconnect (ctx->dbus_con);
++ dbus_connection_close (ctx->dbus_con);
+
+ if (ctx->callbacks_lock)
+ g_mutex_free (ctx->callbacks_lock);