summaryrefslogtreecommitdiffstats
path: root/accessibility/at-spi2-core/files
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-06-29 16:34:51 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-06-29 16:34:51 +0800
commitf20ef3941ec472fbe88896b216c741a05e867464 (patch)
treedbdea2c05cd9b25f0ba1ac06d7ef76dff5a6895d /accessibility/at-spi2-core/files
parent3bb76a3d8136f7ea64ac8b79f2555efee1616c3d (diff)
downloadmarcuscom-ports-f20ef3941ec472fbe88896b216c741a05e867464.tar
marcuscom-ports-f20ef3941ec472fbe88896b216c741a05e867464.tar.gz
marcuscom-ports-f20ef3941ec472fbe88896b216c741a05e867464.tar.bz2
marcuscom-ports-f20ef3941ec472fbe88896b216c741a05e867464.tar.lz
marcuscom-ports-f20ef3941ec472fbe88896b216c741a05e867464.tar.xz
marcuscom-ports-f20ef3941ec472fbe88896b216c741a05e867464.tar.zst
marcuscom-ports-f20ef3941ec472fbe88896b216c741a05e867464.zip
Fix the build with clang.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16972 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'accessibility/at-spi2-core/files')
-rw-r--r--accessibility/at-spi2-core/files/patch-registeryd_deviceeventcontroller.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/accessibility/at-spi2-core/files/patch-registeryd_deviceeventcontroller.c b/accessibility/at-spi2-core/files/patch-registeryd_deviceeventcontroller.c
new file mode 100644
index 000000000..a21891966
--- /dev/null
+++ b/accessibility/at-spi2-core/files/patch-registeryd_deviceeventcontroller.c
@@ -0,0 +1,16 @@
+--- registryd/deviceeventcontroller.c.orig 2012-06-29 10:32:08.000000000 +0200
++++ registryd/deviceeventcontroller.c 2012-06-29 10:33:19.000000000 +0200
+@@ -1225,11 +1225,11 @@
+ "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);