summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-06-29 12:34:28 +0000
committerjoerg <joerg@pkgsrc.org>2012-06-29 12:34:28 +0000
commitbaf601788166ed5f6a5943a2dfdde82feada4c30 (patch)
tree432456c77d76949b1644d3d64d9b35f2bc5a99c6
parent59be89c7e68efb7e5002bb1af46f92e663b9d118 (diff)
downloadpkgsrc-baf601788166ed5f6a5943a2dfdde82feada4c30.tar.gz
Consistently return a value.
-rw-r--r--devel/at-spi2-core/distinfo3
-rw-r--r--devel/at-spi2-core/patches/patch-registryd_deviceeventcontroller.c18
2 files changed, 20 insertions, 1 deletions
diff --git a/devel/at-spi2-core/distinfo b/devel/at-spi2-core/distinfo
index e5b715bb4e0..2bacfc1b50e 100644
--- a/devel/at-spi2-core/distinfo
+++ b/devel/at-spi2-core/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2012/06/12 17:16:13 prlw1 Exp $
+$NetBSD: distinfo,v 1.3 2012/06/29 12:34:28 joerg Exp $
SHA1 (at-spi2-core-2.5.2.tar.xz) = 2169722ce699f4b11ef631553747a8bdd1e469bf
RMD160 (at-spi2-core-2.5.2.tar.xz) = d9b8ce1713f1ed0469b666dda9e22e4e47b7f282
Size (at-spi2-core-2.5.2.tar.xz) = 441584 bytes
+SHA1 (patch-registryd_deviceeventcontroller.c) = 4508919688a227d78445fca65971bf5ef0aa2c06
diff --git a/devel/at-spi2-core/patches/patch-registryd_deviceeventcontroller.c b/devel/at-spi2-core/patches/patch-registryd_deviceeventcontroller.c
new file mode 100644
index 00000000000..d18079ed69c
--- /dev/null
+++ b/devel/at-spi2-core/patches/patch-registryd_deviceeventcontroller.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-registryd_deviceeventcontroller.c,v 1.1 2012/06/29 12:34:28 joerg Exp $
+
+--- registryd/deviceeventcontroller.c.orig 2012-06-28 11:29:47.000000000 +0000
++++ registryd/deviceeventcontroller.c
+@@ -1225,11 +1225,11 @@ send_and_allow_reentry (DBusConnection *
+ "org.freedesktop.DBus.Peer",
+ "Ping");
+ if (!message)
+- return;
++ return NULL;
+ dbus_connection_send_with_reply (bus, message, &pending, -1);
+ dbus_message_unref (message);
+ if (!pending)
+- return;
++ return NULL;
+ bus_name_dup = g_strdup (dest);
+ dbus_pending_call_set_notify (pending, reset_hung_process_from_ping,
+ bus_name_dup, NULL);