Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Roldao authored and Ricardo Roldao committed May 15, 2024
1 parent cd6b73b commit f8a88f5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/dbus-patches/capi-dbus-1-pc.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
diff --git a/dbus-1.pc.in b/dbus-1.pc.in
diff --git a\dbus-1.pc.in b\dbus-1.pc.in
index f93d156..2e137cf 100644
--- a/dbus-1.pc.in
+++ b/dbus-1.pc.in
--- a\dbus-1.pc.in
+++ b\dbus-1.pc.in
@@ -18,3 +18,4 @@ Version: @VERSION@
Libs: -L${libdir} -ldbus-1
Libs.private: @LIBDBUS_LIBS@
Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include @DBUS_STATIC_BUILD_CPPFLAGS@
Cflags: -I${includedir}\dbus-1.0 -I${libdir}\dbus-1.0/include @DBUS_STATIC_BUILD_CPPFLAGS@
+Ldflags: -L${libdir}
17 changes: 9 additions & 8 deletions src/dbus-patches/capi-dbus-add-send-with-reply-set-notify.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ Subject: [PATCH] Add dbus_connection_send_with_reply_set_notify function for
dbus/dbus-connection.h | 10 ++++
2 files changed, 165 insertions(+)

diff --git a\dbus\dbus-connection.c b\dbus\dbus-connection.c
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c
index e1068e3..233f179 100644
--- a\dbus\dbus-connection.c
+++ b\dbus\dbus-connection.c
--- a/dbus/dbus-connection.c
+++ b/dbus/dbus-connection.c
@@ -3482,6 +3482,161 @@ dbus_connection_send_with_reply (DBusConnection *connection,
}

/**
+ * Queues a message to send, as with dbus_connection_send(),
+ * but also returns a #DBusPendingCall used to receive a reply to the
Expand Down Expand Up @@ -175,10 +175,10 @@ index e1068e3..233f179 100644
* Sends a message and blocks a certain time period while waiting for
* a reply. This function does not reenter the main loop,
* i.e. messages other than the reply are queued up but not
diff --git a\dbus\dbus-connection.h b\dbus\dbus-connection.h
diff --git a/dbus/dbus-connection.h b/dbus/dbus-connection.h
index fe4d04e..e8cedf1 100644
--- a\dbus\dbus-connection.h
+++ b\dbus\dbus-connection.h
--- a/dbus/dbus-connection.h
+++ b/dbus/dbus-connection.h
@@ -229,6 +229,16 @@ dbus_bool_t dbus_connection_send_with_reply (DBusConnection
DBusMessage *message,
DBusPendingCall **pending_return,
Expand All @@ -196,5 +196,6 @@ index fe4d04e..e8cedf1 100644
DBUS_EXPORT
DBusMessage * dbus_connection_send_with_reply_and_block (DBusConnection *connection,
DBusMessage *message,
--
--
1.9.1

0 comments on commit f8a88f5

Please sign in to comment.