openbsd-ports/textproc/libxml/patches/patch-xmlcatalog_c
marcm cf0aa85a3c Make libxml actually use default catalog file(s) in the new location,
sheesh.

Besides me not doing the defines right in the first place, libtool
escapes the urls in strange and confusing ways... so screw 'em we're
patching the new paths in.

Bump the version number accordingly.

"This looks fine." jolan@
2003-06-17 03:40:03 +00:00

13 lines
459 B
Plaintext

$OpenBSD: patch-xmlcatalog_c,v 1.1 2003/06/17 03:40:03 marcm Exp $
--- xmlcatalog.c.orig Fri Jun 13 23:31:32 2003
+++ xmlcatalog.c Fri Jun 13 23:32:03 2003
@@ -42,7 +42,7 @@ static char *filename;
#ifdef LIBXML_CATALOG_ENABLED
#ifndef XML_SGML_DEFAULT_CATALOG
-#define XML_SGML_DEFAULT_CATALOG "/etc/sgml/catalog"
+#define XML_SGML_DEFAULT_CATALOG "/var/db/sgmlcatalog"
#endif
/************************************************************************