mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
20 lines
652 B
Plaintext
20 lines
652 B
Plaintext
$NetBSD: patch-ac,v 1.9 2016/05/24 12:00:08 he Exp $
|
|
|
|
Parametrize XML and SGML catalog directories.
|
|
|
|
--- catalog.c.orig 2014-10-03 11:28:05.000000000 +0000
|
|
+++ catalog.c
|
|
@@ -70,10 +70,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://@@XML_DEFAULT_CATALOG@@"
|
|
#endif
|
|
#ifndef XML_SGML_DEFAULT_CATALOG
|
|
-#define XML_SGML_DEFAULT_CATALOG "file:///etc/sgml/catalog"
|
|
+#define XML_SGML_DEFAULT_CATALOG "file://@@SGML_DEFAULT_CATALOG@@"
|
|
#endif
|
|
|
|
#if defined(_WIN32) && defined(_MSC_VER)
|