# HG changeset patch # User Bram Moolenaar # Date 1539810007 -7200 # Node ID d95d6580d84bed43804abcad85002c9e34382539 # Parent d1cafc15fe97a68b513444f314e3e200ab12337f patch 8.1.0483: MinGW does not build tee.exe commit https://github.com/vim/vim/commit/04c86d27fed5757ae40246d7bb3fdcd0c1959468 Author: Bram Moolenaar Date: Wed Oct 17 22:45:54 2018 +0200 patch 8.1.0483: MinGW does not build tee.exe Problem: MinGW does not build tee.exe. Solution: Add build instructions. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/3548) diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak --- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -943,7 +943,7 @@ ifeq (yes, $(MAP)) LFLAGS += -Wl,-Map=$(TARGET).map endif -all: $(TARGET) vimrun.exe xxd/xxd.exe install.exe uninstal.exe GvimExt/gvimext.dll +all: $(TARGET) vimrun.exe xxd/xxd.exe tee/tee.exe install.exe uninstal.exe GvimExt/gvimext.dll vimrun.exe: vimrun.c $(CC) $(CFLAGS) -o vimrun.exe vimrun.c $(LIB) @@ -968,6 +968,9 @@ mpress: exes xxd/xxd.exe: xxd/xxd.c $(MAKE) -C xxd -f Make_ming.mak CC='$(CC)' +tee/tee.exe: tee/tee.c + $(MAKE) -C tee CC='$(CC)' + GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h $(MAKE) -C GvimExt -f Make_ming.mak CROSS=$(CROSS) CROSS_COMPILE=$(CROSS_COMPILE) CXX='$(CXX)' STATIC_STDCPLUS=$(STATIC_STDCPLUS) @@ -996,6 +999,7 @@ ifdef MZSCHEME endif $(MAKE) -C GvimExt -f Make_ming.mak clean $(MAKE) -C xxd -f Make_ming.mak clean + $(MAKE) -C tee clean ########################################################################### INCL = vim.h alloc.h arabic.h ascii.h ex_cmds.h farsi.h feature.h globals.h \ diff --git a/src/tee/Makefile b/src/tee/Makefile --- a/src/tee/Makefile +++ b/src/tee/Makefile @@ -1,4 +1,4 @@ -# A very (if not the most) simplistic Makefile for OS/2 +# A very (if not the most) simplistic Makefile for MS-Windows and OS/2 CC=gcc CFLAGS=-O2 -fno-strength-reduce diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -793,6 +793,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 483, +/**/ 482, /**/ 481,