summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Klimaszewski <steev@gentoo.org>2006-08-16 05:45:01 +0000
committerStephen Klimaszewski <steev@gentoo.org>2006-08-16 05:45:01 +0000
commitd0da80d406974d9bb91f9248b8165950a1b74ac8 (patch)
tree71e0868af77239946af101d935a9280e02e1864f /sys-apps/hal/files/hal-0.5.7.1-dbus-close.patch
parentStable x86; not sure of the true use of this..but ^.^ (diff)
downloadgentoo-2-d0da80d406974d9bb91f9248b8165950a1b74ac8.tar.gz
gentoo-2-d0da80d406974d9bb91f9248b8165950a1b74ac8.tar.bz2
gentoo-2-d0da80d406974d9bb91f9248b8165950a1b74ac8.zip
And add the missing patch, closes bug #144075, thanks to Courtney Oliver for
(Portage version: 2.1.1_pre5-r1)
Diffstat (limited to 'sys-apps/hal/files/hal-0.5.7.1-dbus-close.patch')
-rw-r--r--sys-apps/hal/files/hal-0.5.7.1-dbus-close.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-apps/hal/files/hal-0.5.7.1-dbus-close.patch b/sys-apps/hal/files/hal-0.5.7.1-dbus-close.patch
new file mode 100644
index 000000000000..d7dabac69c8b
--- /dev/null
+++ b/sys-apps/hal/files/hal-0.5.7.1-dbus-close.patch
@@ -0,0 +1,24 @@
+diff -ruN hal-0.5.7.1.orig/tools/hal-device.c hal-0.5.7.1/tools/hal-device.c
+--- hal-0.5.7.1.orig/tools/hal-device.c 2006-07-28 16:07:56.000000000 -0500
++++ hal-0.5.7.1/tools/hal-device.c 2006-07-28 16:08:36.000000000 -0500
+@@ -155,7 +155,7 @@
+
+ libhal_ctx_shutdown(hal_ctx, &error);
+ libhal_ctx_free(hal_ctx);
+- dbus_connection_disconnect(conn);
++ dbus_connection_close(conn);
+ dbus_connection_unref(conn);
+ dbus_error_free(&error);
+
+diff -ruN hal-0.5.7.1.orig/tools/lshal.c hal-0.5.7.1/tools/lshal.c
+--- hal-0.5.7.1.orig/tools/lshal.c 2006-07-28 16:07:56.000000000 -0500
++++ hal-0.5.7.1/tools/lshal.c 2006-07-28 16:08:52.000000000 -0500
+@@ -701,7 +701,7 @@
+ libhal_ctx_shutdown (hal_ctx, &error);
+ libhal_ctx_free (hal_ctx);
+
+- dbus_connection_disconnect (conn);
++ dbus_connection_close (conn);
+ dbus_connection_unref (conn);
+
+ if (show_device)