diff options
Diffstat (limited to 'packaging/xmlto-xsltopts.patch')
-rw-r--r-- | packaging/xmlto-xsltopts.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packaging/xmlto-xsltopts.patch b/packaging/xmlto-xsltopts.patch new file mode 100644 index 0000000..8227e16 --- /dev/null +++ b/packaging/xmlto-xsltopts.patch @@ -0,0 +1,32 @@ +Index: xmlto.in +=================================================================== +--- xmlto.in.orig ++++ xmlto.in +@@ -38,6 +38,7 @@ OPTIONs are: + -o directory put output in the specified directory instead of + the current working directory + -p postprocopts pass option to postprocessor ++ --xsltopts use xsltproc command line options + --extensions turn on stylesheet extensions for this tool chain + --noautosize do not autodetect paper size via locales or paperconf + --noclean temp files are not deleted automatically +@@ -262,7 +263,7 @@ ZIP_PATH=@ZIP@ + + # Process any options + ARGS=$(${GETOPT} \ +- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex \ ++ --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex,xsltopts: \ + -n xmlto -- x:m:o:p:v "$@") + [ $? != 0 ] && { usage; exit 1; } + eval set -- "$ARGS" +@@ -383,6 +384,10 @@ while [ "$#" -gt "0" ]; do + fi + shift + ;; ++ --xsltopts) ++ XSLTOPTS="$XSLTOPTS $2" ++ shift 2 ++ ;; + --) + shift + break |