openbsd-ports/devel/gconf/patches/patch-gconf_gconftool_c
nino 984db45bf1 -update to 1.0.9
-move the default databases to /var/db.

From Marc Matteo <marcm@lectroid.net>

-cleanup: remove useless db3 and guile flavors.

NOTE: This is one of the times you really need to heed the install
notice. In particular, /etc/gconf/1/path should be updated to reflect
the new location for the database.
2002-08-30 19:42:52 +00:00

26 lines
749 B
Plaintext

$OpenBSD: patch-gconf_gconftool_c,v 1.2 2002/08/30 19:42:52 nino Exp $
--- gconf/gconftool.c.orig Tue Dec 4 14:09:43 2001
+++ gconf/gconftool.c Mon Aug 26 12:10:57 2002
@@ -22,9 +22,9 @@
#include <stdio.h>
#include <unistd.h>
#include <popt.h>
-#include <libxml/tree.h>
-#include <libxml/parser.h>
-#include <libxml/xmlmemory.h>
+#include <gnome-xml/tree.h>
+#include <gnome-xml/parser.h>
+#include <gnome-xml/xmlmemory.h>
#include <stdlib.h>
#include <errno.h>
@@ -2545,7 +2545,7 @@ do_get_default_source(GConfEngine* conf,
}
/* Use default database */
- source = g_strconcat("xml::", GCONF_ETCDIR, "/gconf.xml.defaults", NULL);
+ source = g_strconcat(GCONF_CONFIG_SOURCE, NULL);
printf("%s\n", source);
g_free(source);