diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-02-22 20:12:50 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-02-22 20:12:50 +0000 |
commit | 71a55254a4334ee343f96e8534c7c860839c7374 (patch) | |
tree | 6a40492ed07daa8295b852c10634993d5638b962 /package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch | |
parent | 4700ea5af2082c512b54974fe7dc01925234ff95 (diff) | |
download | buildroot-novena-71a55254a4334ee343f96e8534c7c860839c7374.tar.gz buildroot-novena-71a55254a4334ee343f96e8534c7c860839c7374.zip |
dbus: convert to Makefile.autotools.in and bump version
Diffstat (limited to 'package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch')
-rw-r--r-- | package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch b/package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch new file mode 100644 index 000000000..bf6b4ae6b --- /dev/null +++ b/package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch @@ -0,0 +1,33 @@ +dbus-daemon-launch-helper: fix build with libxml + +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@sunsite.dk> +--- + bus/config-parser-trivial.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +Index: dbus-1.2.12/bus/config-parser-trivial.c +=================================================================== +--- dbus-1.2.12.orig/bus/config-parser-trivial.c ++++ dbus-1.2.12/bus/config-parser-trivial.c +@@ -310,6 +310,14 @@ + 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" |