Ticket #36354: docbook-utils-sgmlinclude.patch

File docbook-utils-sgmlinclude.patch, 1.3 KB (added by lockhart (Thomas Lockhart), 12 years ago)

Patchfile from Fedora 18 RPM.

  • docbook-utils-0.6.

    diff -urNp docbook-utils-0.6.14-orig/backends/man.in docbook-utils-0.6.14/backends/man.in
    old new HELPER=$SGML_BASE_DIR/docbook/utils-@VER 
    77TMPDIR=`mktemp -d /tmp/man.XXXXXX` || \
    88 { echo >&2 "man backend: could not create secure temporary directory"; exit 1;}
    99trap 'rm -rf "${TMPDIR}"' EXIT
    10 nsgmls "$SGML_FILE" > "${TMPDIR}/nsgmls.tmp"
     10nsgmls "$SGML_INCLUDE" "$SGML_FILE" > "${TMPDIR}/nsgmls.tmp"
    1111sgmlspl $HELPER <"${TMPDIR}/nsgmls.tmp" 2>"${TMPDIR}/errs"
    1212if [ $? -ne 0 ]
    1313then
  • docbook-utils-0.6.

    diff -urNp docbook-utils-0.6.14-orig/bin/jw.in docbook-utils-0.6.14/bin/jw.in
    old new echo "Using catalogs: `echo $SGML_CATALO 
    423423echo "Using stylesheet: $SGML_STYLESHEET"
    424424echo "Working on: $SGML_FILE"
    425425cd "$SGML_OUTPUT_DIRECTORY"
    426 export SGML_JADE SGML_FILE_NAME SGML_ARGUMENTS
     426export SGML_JADE SGML_FILE_NAME SGML_ARGUMENTS SGML_INCLUDE
    427427export SGML_CATALOG_FILES SGML_BASE_DIR SGML_FILE SGML_STYLESHEET
    428428NOCHUNKS=`echo $SGML_OPTIONS | grep nochunks`
    429429if [ -z "$NOCHUNKS" ]