components/xmlto/patches/xmlto.in.patch
author Brian Utterback <brian.utterback@oracle.com>
Fri, 03 Mar 2017 10:53:19 -0800
branchs11u3-sru
changeset 7929 27eab5dcdc0b
parent 3665 e472522a0ae9
permissions -rw-r--r--
24850514 Check for empty DAEMON in quagga start method never fails.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3665
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
Fixes a warning of:
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
e472522a0ae9 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
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
e472522a0ae9 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.
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
The change will be sent upstream.
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
e472522a0ae9 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
e472522a0ae9 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
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
@@ -322,7 +322,7 @@
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
 	shift
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 	;;
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
   --searchpath)
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
-	local oldIFS="${IFS}"
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
+	oldIFS="${IFS}"
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
 	IFS=":"
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
 	for asearchpath in "$2"; do
e472522a0ae9 PSARC 2013/212 xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
 	  # wrangle relative paths into absolute ones so that the user