From: Amul Shah <Amul.Shah@fisglobal.com>
Description: Backport upstream changes to the default GT.M profile script
  ICU versions after 4.8, <major>.<minor> dropped the dot between the major and
  minor numbers. The upstream fix handles setting gtm_icu_version correctly for
  ICU versions after 4.8.
Applied-Upstream: V6.2-000

--- a/sr_unix/gtmprofile.gtc
+++ b/sr_unix/gtmprofile.gtc
@@ -81,7 +81,7 @@
 	which="which"
     fi
     if [ -z "$gtm_icu_version" -a -n "`$which icu-config`" ] ; then
-        gtm_icu_version=`icu-config --version | gtm_chset=M $gtm_dist/mumps -run %XCMD 'Read x Write $Piece(x,".",1,2)'`
+	gtm_icu_version=`icu-config --version | gtm_chset=M $gtm_dist/mumps -run %XCMD 'Read x Write $Select(+x>48:$Piece(x,".",1)/10,1:$Piece(x,".",1,2))'`
         export gtm_icu_version
     fi
 
