diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-arch/lha/files/lha-114i-file-list-from-stdin.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-arch/lha/files/lha-114i-file-list-from-stdin.patch')
-rw-r--r-- | app-arch/lha/files/lha-114i-file-list-from-stdin.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-arch/lha/files/lha-114i-file-list-from-stdin.patch b/app-arch/lha/files/lha-114i-file-list-from-stdin.patch new file mode 100644 index 000000000000..4bd0d17d7527 --- /dev/null +++ b/app-arch/lha/files/lha-114i-file-list-from-stdin.patch @@ -0,0 +1,29 @@ +Index: src/lharc.c +=================================================================== +--- src/lharc.c (revision 773) ++++ src/lharc.c (working copy) +@@ -561,7 +561,7 @@ + if (!isatty(1) && cmd == CMD_ADD) + quiet = TRUE; + } +-#if 0 /* Comment out; IMHO, this feature is useless. by Koji Arai */ ++#ifndef MINGW32 + else { + if (argc == 3 && !isatty(0)) { /* 1999.7.18 */ + /* Bug(?) on MinGW, isatty() return 0 on Cygwin console. +Index: configure.ac +=================================================================== +--- configure.ac (revision 773) ++++ configure.ac (working copy) +@@ -289,6 +289,11 @@ + [Define to 1 if you want to ignore dot files with -X command line switch]) + fi + ++AC_MINGW32 ++if test "x$MINGW32" = xyes; then ++ AC_DEFINE(MINGW32, 1, [Define to 1 if we're being compiled with MinGW.]) ++fi ++ + AC_CONFIG_FILES([Makefile src/Makefile man/Makefile olddoc/Makefile]) + AC_CONFIG_FILES([tests/Makefile tests/lha-test]) + AC_OUTPUT |