summaryrefslogtreecommitdiff
path: root/packages/networkmanager/files
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-11-21 10:12:30 +0000
committerKoen Kooi <koen@openembedded.org>2006-11-21 10:12:30 +0000
commitbad614892f07233e4b89042177862cae503dda10 (patch)
treebc2d195dd52f5fdf21b682381f2ca5094b0b1ed1 /packages/networkmanager/files
parentcf1d33d740aec5916e1bac4f892de51610f987d1 (diff)
networkmanager: add patch to build against dbus 1.0
Diffstat (limited to 'packages/networkmanager/files')
-rw-r--r--packages/networkmanager/files/dbus-1.0-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/networkmanager/files/dbus-1.0-fix.patch b/packages/networkmanager/files/dbus-1.0-fix.patch
new file mode 100644
index 0000000000..29edc255f0
--- /dev/null
+++ b/packages/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;