xref: /AOO41X/main/libxslt/libxslt-mingw.patch (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir--- misc/libxslt-1.1.26/ltmain.sh	2010-06-06 14:43:28.785750000 +0900
2*cdf0e10cSrcweir+++ misc/build/libxslt-1.1.26/ltmain.sh	2010-06-06 15:14:26.176375000 +0900
3*cdf0e10cSrcweir@@ -2983,15 +2983,7 @@
4*cdf0e10cSrcweir       *mingw* )
5*cdf0e10cSrcweir         lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
6*cdf0e10cSrcweir         case $build in
7*cdf0e10cSrcweir-          *mingw* ) # actually, msys
8*cdf0e10cSrcweir-            # awkward: cmd appends spaces to result
9*cdf0e10cSrcweir-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
10*cdf0e10cSrcweir-            func_to_host_path_tmp1=`( cmd //c echo "$1" |\
11*cdf0e10cSrcweir-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
12*cdf0e10cSrcweir-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
13*cdf0e10cSrcweir-              $SED -e "$lt_sed_naive_backslashify"`
14*cdf0e10cSrcweir-            ;;
15*cdf0e10cSrcweir-          *cygwin* )
16*cdf0e10cSrcweir+          *cygwin* | *mingw* )
17*cdf0e10cSrcweir             func_to_host_path_tmp1=`cygpath -w "$1"`
18*cdf0e10cSrcweir             func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
19*cdf0e10cSrcweir               $SED -e "$lt_sed_naive_backslashify"`
20*cdf0e10cSrcweir@@ -3062,15 +3054,7 @@
21*cdf0e10cSrcweir         func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
22*cdf0e10cSrcweir           $SED -e 's|^:*||' -e 's|:*$||'`
23*cdf0e10cSrcweir         case $build in
24*cdf0e10cSrcweir-          *mingw* ) # Actually, msys.
25*cdf0e10cSrcweir-            # Awkward: cmd appends spaces to result.
26*cdf0e10cSrcweir-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
27*cdf0e10cSrcweir-            func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
28*cdf0e10cSrcweir-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
29*cdf0e10cSrcweir-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
30*cdf0e10cSrcweir-              $SED -e "$lt_sed_naive_backslashify"`
31*cdf0e10cSrcweir-            ;;
32*cdf0e10cSrcweir-          *cygwin* )
33*cdf0e10cSrcweir+          *cygwin* | *mingw* )
34*cdf0e10cSrcweir             func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
35*cdf0e10cSrcweir             func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
36*cdf0e10cSrcweir               $SED -e "$lt_sed_naive_backslashify"`
37