forked from Lainports/freebsd-ports
This will get us closer to eliminating HTTP traffic when searching for DTDs. However, since we no longer offer the docbook 4.1.2 DTDs in ports, this still doesn't solve the problem. Work is now being done to offer a better overall solution.
15 lines
612 B
C
15 lines
612 B
C
--- catalog.c.orig Wed Jan 15 17:35:09 2003
|
|
+++ catalog.c Wed Jan 15 17:36:03 2003
|
|
@@ -56,10 +56,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://%%LOCALBASE%%/share/xml/catalog"
|
|
#endif
|
|
#ifndef XML_SGML_DEFAULT_CATALOG
|
|
-#define XML_SGML_DEFAULT_CATALOG "file:///etc/sgml/catalog"
|
|
+#define XML_SGML_DEFAULT_CATALOG "file://%%LOCALBASE%%/share/sgml/catalog"
|
|
#endif
|
|
|
|
static int xmlExpandCatalog(xmlCatalogPtr catal, const char *filename);
|