about summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/12_dbus1.0.patch (renamed from debian/patches/12_dbus0.9.patch)11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/12_dbus0.9.patch b/debian/patches/12_dbus1.0.patch
index a3aa9e03..85e0b5bc 100644
--- a/debian/patches/12_dbus0.9.patch
+++ b/debian/patches/12_dbus1.0.patch
@@ -18,3 +18,14 @@
  

  	if (ctx->callbacks_lock)

  		g_mutex_free (ctx->callbacks_lock);

+--- src/NetworkManagerDbus.c.orig	2006-11-14 21:10:57.000000000 +0100
++++ src//NetworkManagerDbus.c	2006-11-14 21:13:19.000000000 +0100
+@@ -832,7 +832,7 @@
+ 	}
+ 
+ 	dbus_error_init (&error);
+-#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)
++#if (DBUS_VERSION_MAJOR == 1) || (DBUS_VERSION_MINOR >= 60)
+ 	flags = DBUS_NAME_FLAG_DO_NOT_QUEUE;	/* Prohibit replacement is now the default */
+ #else
+ 	flags = DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT;