Blame SOURCES/docbook-utils-sgmlinclude.patch

4e9952
diff -urNp docbook-utils-0.6.14-orig/backends/man.in docbook-utils-0.6.14/backends/man.in
4e9952
--- docbook-utils-0.6.14-orig/backends/man.in	2009-07-24 15:17:42.000000000 +0200
4e9952
+++ docbook-utils-0.6.14/backends/man.in	2009-07-24 15:20:57.000000000 +0200
4e9952
@@ -7,7 +7,7 @@ HELPER=$SGML_BASE_DIR/docbook/utils-@VER
4e9952
 TMPDIR=`mktemp -d /tmp/man.XXXXXX` || \
4e9952
  { echo >&2 "man backend: could not create secure temporary directory"; exit 1;}
4e9952
 trap 'rm -rf "${TMPDIR}"' EXIT
4e9952
-nsgmls "$SGML_FILE" > "${TMPDIR}/nsgmls.tmp"
4e9952
+nsgmls ${SGML_INCLUDE} "$SGML_FILE" > "${TMPDIR}/nsgmls.tmp"
4e9952
 sgmlspl $HELPER <"${TMPDIR}/nsgmls.tmp" 2>"${TMPDIR}/errs"
4e9952
 if [ $? -ne 0 ]
4e9952
 then
4e9952
diff -urNp docbook-utils-0.6.14-orig/bin/jw.in docbook-utils-0.6.14/bin/jw.in
4e9952
--- docbook-utils-0.6.14-orig/bin/jw.in	2009-07-24 15:17:42.000000000 +0200
4e9952
+++ docbook-utils-0.6.14/bin/jw.in	2009-07-24 15:18:51.000000000 +0200
4e9952
@@ -423,7 +423,7 @@ echo "Using catalogs: `echo $SGML_CATALO
4e9952
 echo "Using stylesheet: $SGML_STYLESHEET"
4e9952
 echo "Working on: $SGML_FILE"
4e9952
 cd "$SGML_OUTPUT_DIRECTORY"
4e9952
-export SGML_JADE SGML_FILE_NAME SGML_ARGUMENTS
4e9952
+export SGML_JADE SGML_FILE_NAME SGML_ARGUMENTS SGML_INCLUDE
4e9952
 export SGML_CATALOG_FILES SGML_BASE_DIR SGML_FILE SGML_STYLESHEET
4e9952
 NOCHUNKS=`echo $SGML_OPTIONS | grep nochunks`
4e9952
 if [ -z "$NOCHUNKS" ]