openbsd-ports/textproc/libxml/patches/patch-catalog_c

17 lines
672 B
Plaintext
Raw Normal View History

$OpenBSD: patch-catalog_c,v 1.2 2003/08/26 16:33:11 marcm Exp $
--- catalog.c.orig 2003-08-04 11:41:42.000000000 -0700
+++ catalog.c 2003-08-19 20:44:38.000000000 -0700
@@ -62,10 +62,10 @@
#define XML_URN_PUBID "urn:publicid:"
#define XML_CATAL_BREAK ((xmlChar *) -1)
#ifndef XML_XML_DEFAULT_CATALOG
-#define XML_XML_DEFAULT_CATALOG "file:///etc/xml/catalog"
+#define XML_XML_DEFAULT_CATALOG "file:///var/db/xmlcatalog"
#endif
#ifndef XML_SGML_DEFAULT_CATALOG
-#define XML_SGML_DEFAULT_CATALOG "file:///etc/sgml/catalog"
+#define XML_SGML_DEFAULT_CATALOG "file:///var/db/sgmlcatalog"
#endif
static int xmlExpandCatalog(xmlCatalogPtr catal, const char *filename);