DEPENDS = "dbus"
+PR = "r1"
+
SRC_URI="http://people.redhat.com/jvdias/dhcdbd/dhcdbd-${PV}.tar.gz \
- file://dhcdbd-1.14-pkgconfig_dbus.patch;patch=1\
+ file://dhcdbd-1.14-pkgconfig_dbus.patch;patch=1 \
+ file://dbus-api-fix.patch;patch=1 \
file://dhcdbd"
-do_configure() {
-}
-
do_compile() {
CC=${TARGET_SYS}-gcc DESTDIR=${prefix} make
}
install -m 0755 ${WORKDIR}/dhcdbd ${D}/etc/init.d/
}
-FILES_${PN}="${sysconfdir} ${datadir}/dbus-1 ${base_sbindir}"
+FILES_${PN} += "${sysconfdir} ${datadir}/dbus-1 ${base_sbindir}/*"
--- /dev/null
+--- /tmp/dbus_service.c 2006-08-24 22:09:14.000000000 +0200
++++ dhcdbd-1.14/dbus_service.c 2006-08-24 22:09:44.228306000 +0200
+@@ -1412,7 +1412,7 @@
+ return ( cs );
+
+ give_up:
+- dbus_connection_disconnect( connection );
++ dbus_connection_close( connection );
+ dbus_shutdown();
+ return ( 0L );
+ }
+@@ -1456,7 +1456,7 @@
+ cs->roots=0L;
+
+
+- dbus_connection_disconnect( cs->connection );
++ dbus_connection_close( cs->connection );
+ dbus_shutdown();
+ free( cs );
+ }