components/xmlto/patches/xmlto.in.patch
author pkidd <patrick.kidd@oracle.com>
Thu, 19 Jan 2017 10:24:22 -0800
branchs11u3-sru
changeset 7587 23ce226f88da
parent 3665 e472522a0ae9
permissions -rw-r--r--
build metadata for S11.3SRU17.2

Fixes a warning of:

 /usr/bin/xmlto: line 325: local: can only be used in a function

found by Alan Coopersmith during testing of xmlto with the X.org distribution.

The change will be sent upstream.

--- xmlto-0.0.25/xmlto.in.orig	2014-02-13 13:58:02.220260650 -0800
+++ xmlto-0.0.25/xmlto.in	2014-02-13 14:03:39.275042953 -0800
@@ -322,7 +322,7 @@
 	shift
 	;;
   --searchpath)
-	local oldIFS="${IFS}"
+	oldIFS="${IFS}"
 	IFS=":"
 	for asearchpath in "$2"; do
 	  # wrangle relative paths into absolute ones so that the user