aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml2/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-03 20:17:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-03 20:17:37 +0000
commitd82032cc0f54424138037abd985ecd11570b4da5 (patch)
tree67ede21f9ab01f1d5f521349ca35b7eaa3289e13 /textproc/libxml2/files
parent403d738ee68eebcf35cb555d9c4fb5c81477939e (diff)
downloadports-d82032cc0f54424138037abd985ecd11570b4da5.tar.gz
ports-d82032cc0f54424138037abd985ecd11570b4da5.zip
Notes
Diffstat (limited to 'textproc/libxml2/files')
-rw-r--r--textproc/libxml2/files/patch-catalog.c15
-rw-r--r--textproc/libxml2/files/patch-xmlcatalog.c11
2 files changed, 26 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..a567a2fe728b
--- /dev/null
+++ b/textproc/libxml2/files/patch-catalog.c
@@ -0,0 +1,15 @@
+--- catalog.c.orig Mon Jun 3 15:28:28 2002
++++ catalog.c Mon Jun 3 15:29:03 2002
+@@ -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);
diff --git a/textproc/libxml2/files/patch-xmlcatalog.c b/textproc/libxml2/files/patch-xmlcatalog.c
new file mode 100644
index 000000000000..dea513899b5b
--- /dev/null
+++ b/textproc/libxml2/files/patch-xmlcatalog.c
@@ -0,0 +1,11 @@
+--- xmlcatalog.c.orig Mon Jun 3 15:30:00 2002
++++ xmlcatalog.c Mon Jun 3 15:30:17 2002
+@@ -41,7 +41,7 @@
+
+ #ifdef LIBXML_CATALOG_ENABLED
+
+-#define XML_SGML_DEFAULT_CATALOG "/etc/sgml/catalog"
++#define XML_SGML_DEFAULT_CATALOG "%%LOCALBASE%%/share/sgml/catalog"
+
+ /************************************************************************
+ * *