diff options
author | dholland <dholland@pkgsrc.org> | 2010-11-22 05:54:17 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2010-11-22 05:54:17 +0000 |
commit | 2cec21b7f7eb0737123039489d0f7d22682bf9bf (patch) | |
tree | 7134b63ba2f837753c49b97de129d0b57f61d140 /textproc/xmlto/patches | |
parent | dce27fe84aa5bd1e10d41efa57cedc2b6e8ee93b (diff) | |
download | pkgsrc-2cec21b7f7eb0737123039489d0f7d22682bf9bf.tar.gz |
Fix obviously wrong code handling XSLTPARAMS with the --stringparam option.
PR 44126 from Goetz Isenmann. PKGREVISION++.
While here, add comment to patch-ab.
Diffstat (limited to 'textproc/xmlto/patches')
-rw-r--r-- | textproc/xmlto/patches/patch-ab | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/textproc/xmlto/patches/patch-ab b/textproc/xmlto/patches/patch-ab index cac301d52cd..7347a23750d 100644 --- a/textproc/xmlto/patches/patch-ab +++ b/textproc/xmlto/patches/patch-ab @@ -1,4 +1,8 @@ -$NetBSD: patch-ab,v 1.2 2008/11/10 23:01:38 wiz Exp $ +$NetBSD: patch-ab,v 1.3 2010/11/22 05:54:17 dholland Exp $ + +- don't hardwire paths +- fix obvious bug handling XSLTPARAMS (PR 44126), already fixed upstream +- xmllint needs --nonet --- xmlto.in.orig 2008-05-30 13:41:31.000000000 +0000 +++ xmlto.in @@ -29,6 +33,17 @@ $NetBSD: patch-ab,v 1.2 2008/11/10 23:01:38 wiz Exp $ then charmap=$(locale charmap 2>/dev/null) +@@ -273,8 +273,8 @@ while [ "$#" -gt "0" ]; do + ;; + --stringparam) + MYPARAM="$2" +- XSLTPARAMS="XSLTPARAMS --stringparam ${MYPARAM%=*}" +- XSLTPARAMS="XSLTPARAMS $MYPARAM#*=}" ++ XSLTPARAMS="$XSLTPARAMS --stringparam ${MYPARAM%=*}" ++ XSLTPARAMS="$XSLTPARAMS $MYPARAM#*=}" + shift 2 + ;; + --noclean) @@ -427,8 +427,8 @@ if [ "$SKIP_VALIDATION" -eq 0 ] && [ "$S then VALIDATION="${XSLT_PROCESSED_DIR}/validation-errors" |