components/xmlto/patches/xmlto.in.patch
author Tomas Klacko <tomas.klacko@oracle.com>
Mon, 06 Oct 2014 02:38:58 -0700
changeset 2134 72e005a6a290
parent 1714 9074d725010f
permissions -rw-r--r--
19693809 proftpd.conf should be packaged with overlay=allow
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1714
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
Fixes a warning of:
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
 /usr/bin/xmlto: line 325: local: can only be used in a function
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
found by Alan Coopersmith during testing of xmlto with the X.org distribution.
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
The change will be sent upstream.
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
--- xmlto-0.0.25/xmlto.in.orig	2014-02-13 13:58:02.220260650 -0800
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
+++ xmlto-0.0.25/xmlto.in	2014-02-13 14:03:39.275042953 -0800
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
@@ -322,7 +322,7 @@
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
 	shift
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 	;;
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
   --searchpath)
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
-	local oldIFS="${IFS}"
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
+	oldIFS="${IFS}"
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
 	IFS=":"
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
 	for asearchpath in "$2"; do
9074d725010f PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
 	  # wrangle relative paths into absolute ones so that the user