[oe-commits] org.oe.dev dhcdbd: add patch to make it work it the new dbus api

koen commit openembedded-commits at lists.openembedded.org
Thu Aug 24 20:28:39 UTC 2006


dhcdbd: add patch to make it work it the new dbus api

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 4013d0d7e4eb52fd5a82f8e3ac31cedc548a3d60
ViewMTN: http://monotone.openembedded.org/revision.psp?id=4013d0d7e4eb52fd5a82f8e3ac31cedc548a3d60
Files:
1
packages/dhcdbd/files/dbus-api-fix.patch
packages/dhcdbd/dhcdbd_1.14.bb
Diffs:

#
# mt diff -reaa8c25e37e474d3d3d4444854fecf8b9e5d2c03 -r4013d0d7e4eb52fd5a82f8e3ac31cedc548a3d60
#
# 
# 
# add_file "packages/dhcdbd/files/dbus-api-fix.patch"
#  content [713c9460c16a76990725db61170f2c798d6e02eb]
# 
# patch "packages/dhcdbd/dhcdbd_1.14.bb"
#  from [b1983f73a5d02170ea1bc1f8be7b9e9d9232b5fe]
#    to [4f980fb5312f30e3de7982621d5083a2fa11a9ea]
# 
============================================================
--- packages/dhcdbd/files/dbus-api-fix.patch	713c9460c16a76990725db61170f2c798d6e02eb
+++ packages/dhcdbd/files/dbus-api-fix.patch	713c9460c16a76990725db61170f2c798d6e02eb
@@ -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 );
+ }
============================================================
--- packages/dhcdbd/dhcdbd_1.14.bb	b1983f73a5d02170ea1bc1f8be7b9e9d9232b5fe
+++ packages/dhcdbd/dhcdbd_1.14.bb	4f980fb5312f30e3de7982621d5083a2fa11a9ea
@@ -6,13 +6,13 @@ DEPENDS = "dbus"
 
 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}"






More information about the Openembedded-commits mailing list