openbsd-ports/textproc/libxml/patches/patch-catalog_c
marcm d2a7b9b1ea Update again to 2.5.10 and this time *disable threading*. Reports are
that this fixes a whole range of breakage with other ports that were
confused by the threading option.

ok naddy@
2003-08-26 16:33:11 +00:00

17 lines
672 B
Plaintext

$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);