openbsd-ports/devel/gconf/patches/patch-backends_xml-backend_c
wilfried 485c52a7d5 Update to GConf-1.0.7, from maintainer
* Better compability for installing gconf 1 & 2 side by side
* Better UTF8 handling
* Lots of compilation and configuring fixes
* Some portability fixes
* Plus a lot of other fixes, see Changelog for full description
2001-11-13 14:04:41 +00:00

32 lines
693 B
Plaintext

$OpenBSD: patch-backends_xml-backend_c,v 1.1 2001/11/13 14:04:41 wilfried Exp $
--- backends/xml-backend.c.orig Fri Oct 12 21:30:26 2001
+++ backends/xml-backend.c Mon Nov 12 20:33:43 2001
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <gconf/gconf-backend.h>
#include <gconf/gconf-internals.h>
@@ -25,9 +26,17 @@
#include "xml-cache.h"
+#ifdef HAVE_GNOME_XML_TREE_H
+# include <gnome-xml/tree.h>
+#else
+# include <libxml/tree.h>
+#endif
-#include <libxml/tree.h>
-#include <libxml/parser.h>
+#ifdef HAVE_GNOME_XML_PARSER_H
+# include <gnome-xml/parser.h>
+#else
+# include <libxml/parser.h>
+#endif
#include <stdio.h>
#include <time.h>