Files
MSYS2-packages/libtirpc/msys2-autotools.patch
2018-10-31 09:44:14 +03:00

34 lines
938 B
Diff

diff -Naur libtirpc-0.2.4.orig/config.guess libtirpc-0.2.4/config.guess
--- libtirpc-0.2.4.orig/config.guess 2013-12-09 22:02:33.000000000 +0100
+++ libtirpc-0.2.4/config.guess 2014-10-15 04:57:52.087890600 +0200
@@ -869,6 +869,9 @@
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin
exit ;;
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
+ echo x86_64-unknown-msys
+ exit ;;
prep*:SunOS:5.*:*)
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
--- libtirpc-1.1.4/compile.orig 2018-10-31 09:31:08.384024900 +0300
+++ libtirpc-1.1.4/compile 2018-10-31 09:31:44.903689100 +0300
@@ -53,7 +53,7 @@
MINGW*)
file_conv=mingw
;;
- CYGWIN*)
+ CYGWIN*|MSYS*)
file_conv=cygwin
;;
*)
@@ -67,7 +67,7 @@
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
- cygwin/*)
+ cygwin/*|msys/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)