aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dbus/dbus-1.3.0/will-1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dbus/dbus-1.3.0/will-1.patch')
-rw-r--r--recipes/dbus/dbus-1.3.0/will-1.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/dbus/dbus-1.3.0/will-1.patch b/recipes/dbus/dbus-1.3.0/will-1.patch
new file mode 100644
index 0000000000..eb3bb9049e
--- /dev/null
+++ b/recipes/dbus/dbus-1.3.0/will-1.patch
@@ -0,0 +1,25 @@
+From aebf924fce126e4eb1409e995edb78f7c02f65b1 Mon Sep 17 00:00:00 2001
+From: Will Thompson <will.thompson@collabora.co.uk>
+Date: Wed, 29 Jul 2009 17:47:04 +0100
+Subject: [PATCH 1/6] Add a constant for the number of message types
+
+---
+ dbus/dbus-protocol.h | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/dbus/dbus-protocol.h b/dbus/dbus-protocol.h
+index a2284ee..17798e9 100644
+--- a/dbus/dbus-protocol.h
++++ b/dbus/dbus-protocol.h
+@@ -239,6 +239,8 @@ extern "C" {
+ /** Message type of a signal message, see dbus_message_get_type() */
+ #define DBUS_MESSAGE_TYPE_SIGNAL 4
+
++#define DBUS_NUM_MESSAGE_TYPES 5
++
+ /* Header flags */
+
+ /** If set, this flag means that the sender of a message does not care about getting
+--
+1.6.3.3
+