winpty-git: rename console.exe to winpty.exe to fix unknown bugs

This commit is contained in:
martell
2014-09-15 16:23:47 +01:00
parent 03695ee762
commit 1f207df002
4 changed files with 34 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
From 80118b65a65f7725921661be696aee517f5ffa50 Mon Sep 17 00:00:00 2001
From c4b4cb4320b6e5c80fa89bbc59146a2bf14f1c58 Mon Sep 17 00:00:00 2001
From: martell <martellmalone@gmail.com>
Date: Sat, 13 Sep 2014 21:32:08 +0100
Subject: [PATCH 1/2] Added Support for MSYS2
Subject: [PATCH 1/3] Added Support for MSYS2
---
configure | 23 ++++++++++++++++++++++-

View File

@@ -1,7 +1,7 @@
From 3f96b51b236ba5a91f9bea063db96a3fa4f87c3a Mon Sep 17 00:00:00 2001
From 637232e0b57941d7dfa1d9646b28c0f0111a5f7c Mon Sep 17 00:00:00 2001
From: martell <martellmalone@gmail.com>
Date: Mon, 15 Sep 2014 01:02:08 +0100
Subject: [PATCH 2/2] Add support for conversion of all argv path args
Subject: [PATCH 2/3] Add support for conversion of all argv path args
---
unix-adapter/main.cc | 21 ++++-----------------
@@ -54,3 +54,4 @@ index bd9281f..17e978f 100644
int ret = winpty_start_process(winpty,
--
2.1.0

View File

@@ -0,0 +1,25 @@
From bee434ceb77bac5801caf13412f4041507cb51e9 Mon Sep 17 00:00:00 2001
From: martell <martellmalone@gmail.com>
Date: Mon, 15 Sep 2014 16:14:08 +0100
Subject: [PATCH 3/3] rename console.exe to winpty.exe for mintty unicode supp
---
unix-adapter/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unix-adapter/Makefile b/unix-adapter/Makefile
index a89aee1..1d8d89b 100644
--- a/unix-adapter/Makefile
+++ b/unix-adapter/Makefile
@@ -21,7 +21,7 @@
include ../config.mk
include ../config-unix.mk
-PROGRAM = ../build/console.exe
+PROGRAM = ../build/winpty.exe
OBJECTS = main.o Shared.o
CXXFLAGS += -I../include
LDFLAGS += $(LDFLAGS_STATIC_LIBSTDCXX) ../build/winpty.dll
--
2.1.0

View File

@@ -18,9 +18,11 @@ options=('staticlibs' 'strip')
source=("${_realname}"::"git+https://github.com/rprichard/winpty.git"
"0001-Added-Support-for-MSYS2.patch"
"0002-Add-support-for-conversion-of-all-argv-path-args.patch")
"0002-Add-support-for-conversion-of-all-argv-path-args.patch"
"0003-rename-console.exe-to-winpty.exe-for-mintty-unicode-.patch")
md5sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
@@ -36,6 +38,7 @@ prepare() {
git am "$srcdir/0001-Added-Support-for-MSYS2.patch"
git am "$srcdir/0002-Add-support-for-conversion-of-all-argv-path-args.patch"
git am "$srcdir/0003-rename-console.exe-to-winpty.exe-for-mintty-unicode-.patch"
}