pkgsrc/textproc/libxml2/patches/patch-ac
recht f15265f298 Work around by the recent buildfailure by rather patching/sed'ing the
catalog path in the relevant files (catalog.c, xmlcatalog.c) directly
rather than defining it in the CFLAGS.
Do not bump pkgrevision since nothing changed in the resulting binaries.
2005-02-12 16:27:47 +00:00

17 lines
622 B
Text

$NetBSD: patch-ac,v 1.5 2005/02/12 16:27:47 recht Exp $
--- catalog.c.orig Sat Feb 12 16:42:39 2005
+++ catalog.c Sat Feb 12 16:44:34 2005
@@ -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://@@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)