[oe-commits] org.oe.dev hal_0.5.7.bb : fix for dbus 1.0 API changes

xora commit openembedded-commits at lists.openembedded.org
Thu Nov 9 14:07:15 UTC 2006


hal_0.5.7.bb : fix for dbus 1.0 API changes

Author: xora at openembedded.org
Branch: org.openembedded.dev
Revision: 051aed6118dfe66775aef988fe3b9f0792cf80a9
ViewMTN: http://monotone.openembedded.org/revision.psp?id=051aed6118dfe66775aef988fe3b9f0792cf80a9
Files:
1
packages/hal/files
packages/hal/files/dbus-fix-api.patch
packages/hal/hal_0.5.7.bb
Diffs:

#
# mt diff -r103ed846c0cc0a85b2a7570bc984ed3a93c2bb42 -r051aed6118dfe66775aef988fe3b9f0792cf80a9
#
# 
# 
# add_dir "packages/hal/files"
# 
# add_file "packages/hal/files/dbus-fix-api.patch"
#  content [e677d75f8132f40325490b12e00994a00e04d145]
# 
# patch "packages/hal/hal_0.5.7.bb"
#  from [d1e4539c7d056286f29c83e0bbabbfcd8574bf66]
#    to [824e963b12630d55a5318c0d99152fabad7897df]
# 
============================================================
--- packages/hal/files/dbus-fix-api.patch	e677d75f8132f40325490b12e00994a00e04d145
+++ packages/hal/files/dbus-fix-api.patch	e677d75f8132f40325490b12e00994a00e04d145
@@ -0,0 +1,26 @@
+Index: hal-0.5.7/tools/lshal.c
+===================================================================
+--- hal-0.5.7.orig/tools/lshal.c	2006-02-13 14:35:31.000000000 +0000
++++ hal-0.5.7/tools/lshal.c	2006-11-09 13:48:07.000000000 +0000
+@@ -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)
+Index: hal-0.5.7/tools/hal-device.c
+===================================================================
+--- hal-0.5.7.orig/tools/hal-device.c	2006-11-09 13:49:44.000000000 +0000
++++ hal-0.5.7/tools/hal-device.c	2006-11-09 13:50:00.000000000 +0000
+@@ -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);
+ 
============================================================
--- packages/hal/hal_0.5.7.bb	d1e4539c7d056286f29c83e0bbabbfcd8574bf66
+++ packages/hal/hal_0.5.7.bb	824e963b12630d55a5318c0d99152fabad7897df
@@ -8,7 +8,8 @@ PR = "r0"
 LICENSE = "GPL LGPL AFL"
 PR = "r0"
 
-SRC_URI = "http://freedesktop.org/~david/dist/hal-${PV}.tar.gz"
+SRC_URI = "http://freedesktop.org/~david/dist/hal-${PV}.tar.gz \
+           file://dbus-fix-api.patch;patch=1"
 S = "${WORKDIR}/hal-${PV}"
 
 inherit autotools pkgconfig






More information about the Openembedded-commits mailing list