From: Koen Kooi Date: Thu, 24 Aug 2006 20:20:25 +0000 (+0000) Subject: dhcdbd: add patch to make it work it the new dbus api X-Git-Tag: Release-2010-05/1~9453^2~888 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d55561bcb5469a7c160c101e01d61dd28001dc0;p=openembedded.git dhcdbd: add patch to make it work it the new dbus api --- diff --git a/packages/dhcdbd/dhcdbd_1.14.bb b/packages/dhcdbd/dhcdbd_1.14.bb index f46543d2d4..3194942e4e 100644 --- a/packages/dhcdbd/dhcdbd_1.14.bb +++ b/packages/dhcdbd/dhcdbd_1.14.bb @@ -6,13 +6,13 @@ MAINTAINER="Milan Plzik " 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 } @@ -23,4 +23,4 @@ do_install() { 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}/*" diff --git a/packages/dhcdbd/files/dbus-api-fix.patch b/packages/dhcdbd/files/dbus-api-fix.patch new file mode 100644 index 0000000000..ce05fc7bf8 --- /dev/null +++ b/packages/dhcdbd/files/dbus-api-fix.patch @@ -0,0 +1,20 @@ +--- /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 ); + }