diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-arch/lha/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-arch/lha/files')
-rw-r--r-- | app-arch/lha/files/lha-114i-file-list-from-stdin.patch | 29 | ||||
-rw-r--r-- | app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch | 11 |
2 files changed, 40 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 diff --git a/app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch b/app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch new file mode 100644 index 000000000000..b57a1c9c6158 --- /dev/null +++ b/app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch @@ -0,0 +1,11 @@ +--- src/getopt_long.c.orig 2013-12-18 16:05:59.789413528 -0600 ++++ src/getopt_long.c 2013-12-18 16:06:01.200420472 -0600 +@@ -64,7 +64,7 @@ + + #ifndef USE_GNU + #include <stdio.h> +-#include <getopt_long.h> ++#include "getopt_long.h" + + char *optarg; + int optind; |