No subject

Peter Korsgaard jacmet at sunsite.dk
Sun May 31 00:37:49 PDT 2009


dbus-daemon-launch-helper links with the trival config parser, which
doesn't provide bus_config_parser_check_doctype(), like the big parser does.
The libxml loader unfortunately wants to call it, so this breaks the build.

Fix it by including a dummy bus_config_parser_check_doctype() in the trivial
config parser.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel at pengutronix.de>
---
 bus/config-parser-trivial.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/bus/config-parser-trivial.c b/bus/config-parser-trivial.c
index 98d554e..a936371 100644
--- a/bus/config-parser-trivial.c
+++ b/bus/config-parser-trivial.c
@@ -310,6 +310,14 @@ bus_config_parser_get_service_dirs (BusConfigParser *parser)
   return &parser->service_dirs;
 }
 
+dbus_bool_t
+bus_config_parser_check_doctype (BusConfigParser   *parser,
+                                 const char        *doctype,
+                                 DBusError         *error)
+{
+    return TRUE;
+}
+
 #ifdef DBUS_BUILD_TESTS
 #include <stdio.h>
 #include "test.h"
-- 
1.6.3.1


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the dbus mailing list