ports/textproc/scrollkeeper/files/patch-libs_install.c
Joe Marcus Clarke f2ee099462 Fix two long-standing bugs where scrollkeeper would overwrite the
SGML catalogs in favor of its own XML format catalogs as well as prevent
scrollkeeper from making HTTP connections to obtain DTDs for OMF
validation.

PR:	39504 46179
Tested by:	Stephen Hilton <nospam@hiltonbsd.com>
		Mezz bsdforums.org <reigncracks@hotmail.com>
2003-01-20 00:30:26 +00:00

15 lines
385 B
C

--- libs/install.c.orig Wed Jan 15 23:27:11 2003
+++ libs/install.c Wed Jan 15 23:26:31 2003
@@ -165,6 +165,12 @@
char *toc_stylesheet_name, *index_name, *index_stylesheet_name, *uid;
/*
+ * Set up a custom catalog path.
+ */
+
+ setenv("XML_CATALOG_FILES", SK_XML_CATALOGS, 1);
+
+ /*
* Read in OMF file
*/
omf_doc = xmlParseFile(omf_name);