aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libxml2/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-16 06:50:34 +0800
committermarcus <marcus@FreeBSD.org>2003-01-16 06:50:34 +0800
commit611684f72e5d021734bc670fa4084faa4332f2b7 (patch)
tree971fc6422ad4f3073de2f13e4ec94c204c7b7ae7 /textproc/libxml2/files
parentec531ca7873488ce21b51a2571bec65e1106f423 (diff)
downloadfreebsd-ports-gnome-611684f72e5d021734bc670fa4084faa4332f2b7.tar.gz
freebsd-ports-gnome-611684f72e5d021734bc670fa4084faa4332f2b7.tar.zst
freebsd-ports-gnome-611684f72e5d021734bc670fa4084faa4332f2b7.zip
Re-add a patch that was forgotten when libxml2 was upgraded to 2.4.27.
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.
Diffstat (limited to 'textproc/libxml2/files')
-rw-r--r--textproc/libxml2/files/patch-catalog.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/libxml2/files/patch-catalog.c b/textproc/libxml2/files/patch-catalog.c
new file mode 100644
index 000000000000..bb69882c95d3
--- /dev/null
+++ b/textproc/libxml2/files/patch-catalog.c
@@ -0,0 +1,15 @@
+--- 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);