File ctdb-xsltproc-catalogs.patch of Package ctdb

Author: Lars Mueller <lmuelle@suse.com>
Subject: On SUSE Linux Enterprise 10 xsltproc need some extra care

xsltproc requires the --catalogs arg and the SGML_CATALOG_FILES environment
variable must point to the catalog.

Index: ctdb-2.5.1/doc/Makefile
===================================================================
--- ctdb-2.5.1.orig/doc/Makefile
+++ ctdb-2.5.1/doc/Makefile
@@ -11,10 +11,10 @@ DOCS = ctdb.1 ctdb.1.html \
 all: $(DOCS)
 
 %: %.xml
-	xsltproc -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+	xsltproc --catalogs -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
 
 %.html: %.xml
-	xsltproc -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
+	xsltproc --catalogs -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
 
 distclean:
 	rm -f $(DOCS)