220 lines
9.4 KiB
Diff
220 lines
9.4 KiB
Diff
diff -Naur tar-1.27-orig/build-aux/compile tar-1.27/build-aux/compile
|
|
--- tar-1.27-orig/build-aux/compile 2013-06-29 09:54:46.000000000 +0400
|
|
+++ tar-1.27/build-aux/compile 2013-10-20 10:19:37.283400000 +0400
|
|
@@ -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/*)
|
|
diff -Naur tar-1.27-orig/build-aux/config.guess tar-1.27/build-aux/config.guess
|
|
--- tar-1.27-orig/build-aux/config.guess 2013-06-29 09:53:42.000000000 +0400
|
|
+++ tar-1.27/build-aux/config.guess 2013-10-20 10:14:54.267400000 +0400
|
|
@@ -866,6 +866,9 @@
|
|
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
|
|
echo x86_64-unknown-cygwin
|
|
exit ;;
|
|
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
|
|
+ echo x86_64-unknown-msys
|
|
+ exit ;;
|
|
p*:CYGWIN*:*)
|
|
echo powerpcle-unknown-cygwin
|
|
exit ;;
|
|
diff -Naur tar-1.27-orig/build-aux/config.rpath tar-1.27/build-aux/config.rpath
|
|
--- tar-1.27-orig/build-aux/config.rpath 2013-06-29 09:53:42.000000000 +0400
|
|
+++ tar-1.27/build-aux/config.rpath 2013-10-20 10:12:46.385800000 +0400
|
|
@@ -57,7 +57,7 @@
|
|
aix*)
|
|
wl='-Wl,'
|
|
;;
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
;;
|
|
hpux9* | hpux10* | hpux11*)
|
|
wl='-Wl,'
|
|
@@ -149,7 +149,7 @@
|
|
hardcode_minus_L=no
|
|
|
|
case "$host_os" in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
@@ -198,7 +198,7 @@
|
|
ld_shlibs=no
|
|
fi
|
|
;;
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
# no search path for DLLs.
|
|
hardcode_libdir_flag_spec='-L$libdir'
|
|
@@ -348,7 +348,7 @@
|
|
;;
|
|
bsdi[45]*)
|
|
;;
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
@@ -537,7 +537,7 @@
|
|
bsdi[45]*)
|
|
library_names_spec='$libname$shrext'
|
|
;;
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
shrext=.dll
|
|
library_names_spec='$libname.dll.a $libname.lib'
|
|
;;
|
|
diff -Naur tar-1.27-orig/gnu/gnulib.mk tar-1.27/gnu/gnulib.mk
|
|
--- tar-1.27-orig/gnu/gnulib.mk 2013-06-29 09:54:23.000000000 +0400
|
|
+++ tar-1.27/gnu/gnulib.mk 2013-10-20 10:16:51.456000000 +0400
|
|
@@ -1020,7 +1020,7 @@
|
|
case '$(host_os)' in \
|
|
darwin[56]*) \
|
|
need_charset_alias=true ;; \
|
|
- darwin* | cygwin* | mingw* | pw32* | cegcc*) \
|
|
+ darwin* | cygwin* | msys* | mingw* | pw32* | cegcc*) \
|
|
need_charset_alias=false ;; \
|
|
*) \
|
|
need_charset_alias=true ;; \
|
|
diff -Naur tar-1.27-orig/gnu/Makefile.in tar-1.27/gnu/Makefile.in
|
|
--- tar-1.27-orig/gnu/Makefile.in 2013-10-05 23:52:01.000000000 +0400
|
|
+++ tar-1.27/gnu/Makefile.in 2013-10-20 10:12:46.463800000 +0400
|
|
@@ -2316,7 +2316,7 @@
|
|
case '$(host_os)' in \
|
|
darwin[56]*) \
|
|
need_charset_alias=true ;; \
|
|
- darwin* | cygwin* | mingw* | pw32* | cegcc*) \
|
|
+ darwin* | cygwin* | msys* | mingw* | pw32* | cegcc*) \
|
|
need_charset_alias=false ;; \
|
|
*) \
|
|
need_charset_alias=true ;; \
|
|
diff -Naur tar-1.27-orig/m4/btowc.m4 tar-1.27/m4/btowc.m4
|
|
--- tar-1.27-orig/m4/btowc.m4 2013-06-29 09:53:43.000000000 +0400
|
|
+++ tar-1.27/m4/btowc.m4 2013-10-20 10:12:46.463800000 +0400
|
|
@@ -49,7 +49,7 @@
|
|
changequote(,)dnl
|
|
case "$host_os" in
|
|
# Guess no on Cygwin.
|
|
- cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
|
|
+ cygwin* | msys*) gl_cv_func_btowc_nul="guessing no" ;;
|
|
# Guess yes otherwise.
|
|
*) gl_cv_func_btowc_nul="guessing yes" ;;
|
|
esac
|
|
diff -Naur tar-1.27-orig/m4/double-slash-root.m4 tar-1.27/m4/double-slash-root.m4
|
|
--- tar-1.27-orig/m4/double-slash-root.m4 2013-06-29 09:53:43.000000000 +0400
|
|
+++ tar-1.27/m4/double-slash-root.m4 2013-10-20 10:12:46.463800000 +0400
|
|
@@ -16,7 +16,7 @@
|
|
# special semantics and is distinct from /, please report it to
|
|
# <bug-gnulib@gnu.org>.
|
|
case $host in
|
|
- *-cygwin | i370-ibm-openedition)
|
|
+ *-cygwin | *-msys | i370-ibm-openedition)
|
|
gl_cv_double_slash_root=yes ;;
|
|
*)
|
|
# Be optimistic and assume that / and // are the same when we
|
|
diff -Naur tar-1.27-orig/m4/dup2.m4 tar-1.27/m4/dup2.m4
|
|
--- tar-1.27-orig/m4/dup2.m4 2013-06-29 09:53:43.000000000 +0400
|
|
+++ tar-1.27/m4/dup2.m4 2013-10-20 10:18:12.341400000 +0400
|
|
@@ -49,7 +49,7 @@
|
|
[case "$host_os" in
|
|
mingw*) # on this platform, dup2 always returns 0 for success
|
|
gl_cv_func_dup2_works="guessing no" ;;
|
|
- cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
|
|
+ cygwin* | msys*) # on cygwin 1.5.x, dup2(1,1) returns 0
|
|
gl_cv_func_dup2_works="guessing no" ;;
|
|
linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
|
|
# closed fd may yield -EBADF instead of -1 / errno=EBADF.
|
|
diff -Naur tar-1.27-orig/m4/getcwd.m4 tar-1.27/m4/getcwd.m4
|
|
--- tar-1.27-orig/m4/getcwd.m4 2013-06-29 09:53:43.000000000 +0400
|
|
+++ tar-1.27/m4/getcwd.m4 2013-10-20 10:17:47.662200000 +0400
|
|
@@ -49,7 +49,7 @@
|
|
# Guess yes on glibc systems.
|
|
*-gnu*) gl_cv_func_getcwd_null="guessing yes";;
|
|
# Guess yes on Cygwin.
|
|
- cygwin*) gl_cv_func_getcwd_null="guessing yes";;
|
|
+ cygwin* | msys*) gl_cv_func_getcwd_null="guessing yes";;
|
|
# If we don't know, assume the worst.
|
|
*) gl_cv_func_getcwd_null="guessing no";;
|
|
esac
|
|
diff -Naur tar-1.27-orig/m4/malloc.m4 tar-1.27/m4/malloc.m4
|
|
--- tar-1.27-orig/m4/malloc.m4 2013-06-29 09:53:43.000000000 +0400
|
|
+++ tar-1.27/m4/malloc.m4 2013-10-20 10:20:50.369400000 +0400
|
|
@@ -30,7 +30,7 @@
|
|
[case "$host_os" in
|
|
# Guess yes on platforms where we know the result.
|
|
*-gnu* | freebsd* | netbsd* | openbsd* \
|
|
- | hpux* | solaris* | cygwin* | mingw*)
|
|
+ | hpux* | solaris* | cygwin* | msys* | mingw*)
|
|
ac_cv_func_malloc_0_nonnull=yes ;;
|
|
# If we don't know, assume the worst.
|
|
*) ac_cv_func_malloc_0_nonnull=no ;;
|
|
diff -Naur tar-1.27-orig/m4/printf.m4 tar-1.27/m4/printf.m4
|
|
--- tar-1.27-orig/m4/printf.m4 2013-06-29 09:53:43.000000000 +0400
|
|
+++ tar-1.27/m4/printf.m4 2013-10-20 10:12:46.479400000 +0400
|
|
@@ -735,7 +735,7 @@
|
|
openbsd*) gl_cv_func_printf_directive_ls="guessing no";;
|
|
irix*) gl_cv_func_printf_directive_ls="guessing no";;
|
|
solaris*) gl_cv_func_printf_directive_ls="guessing no";;
|
|
- cygwin*) gl_cv_func_printf_directive_ls="guessing no";;
|
|
+ cygwin* | msys*) gl_cv_func_printf_directive_ls="guessing no";;
|
|
beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";;
|
|
*) gl_cv_func_printf_directive_ls="guessing yes";;
|
|
esac
|
|
@@ -812,7 +812,7 @@
|
|
[
|
|
changequote(,)dnl
|
|
case "$host_os" in
|
|
- cygwin*) gl_cv_func_printf_flag_grouping="guessing no";;
|
|
+ cygwin* | msys*) gl_cv_func_printf_flag_grouping="guessing no";;
|
|
netbsd*) gl_cv_func_printf_flag_grouping="guessing no";;
|
|
mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
|
|
*) gl_cv_func_printf_flag_grouping="guessing yes";;
|
|
@@ -1464,7 +1464,7 @@
|
|
darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
|
|
darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
|
|
# Guess yes on Cygwin.
|
|
- cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
|
|
+ cygwin* | msys*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
|
|
# Guess yes on Solaris >= 2.6.
|
|
solaris2.[0-5] | solaris2.[0-5].*)
|
|
gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
|
|
diff -Naur tar-1.27-orig/m4/realloc.m4 tar-1.27/m4/realloc.m4
|
|
--- tar-1.27-orig/m4/realloc.m4 2013-06-29 09:53:43.000000000 +0400
|
|
+++ tar-1.27/m4/realloc.m4 2013-10-20 10:21:10.150200000 +0400
|
|
@@ -30,7 +30,7 @@
|
|
[case "$host_os" in
|
|
# Guess yes on platforms where we know the result.
|
|
*-gnu* | freebsd* | netbsd* | openbsd* \
|
|
- | hpux* | solaris* | cygwin* | mingw*)
|
|
+ | hpux* | solaris* | cygwin* | msys* | mingw*)
|
|
ac_cv_func_realloc_0_nonnull=yes ;;
|
|
# If we don't know, assume the worst.
|
|
*) ac_cv_func_realloc_0_nonnull=no ;;
|
|
diff -Naur tar-1.27-orig/m4/unlinkdir.m4 tar-1.27/m4/unlinkdir.m4
|
|
--- tar-1.27-orig/m4/unlinkdir.m4 2013-06-29 09:53:43.000000000 +0400
|
|
+++ tar-1.27/m4/unlinkdir.m4 2013-10-20 10:12:46.495000000 +0400
|
|
@@ -25,6 +25,7 @@
|
|
linux-* | linux | \
|
|
freebsd2.2* | freebsd[[3-9]]* | freebsd[[1-9]][[0-9]]* | \
|
|
cygwin | \
|
|
+ msys | \
|
|
mingw*)
|
|
AC_DEFINE([UNLINK_CANNOT_UNLINK_DIR], [1],
|
|
[Define to 1 if unlink (dir) cannot possibly succeed.]);;
|