From afb826b05a68c2b6901196fdcf5ae804bf8b75e1 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 5 Jan 2012 16:41:41 -0600 Subject: [PATCH] Define NO_GETTEXT for Git for Windows The dreaded "your vnsprintf is broken (returned -1)" error is back. At least with the libintl version we have. So for the moment, just work around the issue by _not_ using gettext. Ah, I wish that my attempt at implementing a custom strbuf_vaddf() would not have been brushed aside so rashly. Oh well. Time saved on maintaining that thing, I guess (although more time went into working around coping with existing implementations). Signed-off-by: Johannes Schindelin --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4dc9256967..c82f297f0f 100644 --- a/Makefile +++ b/Makefile @@ -1301,6 +1301,7 @@ ifneq (,$(wildcard ../THIS_IS_MSYSGIT)) NO_R_TO_GCC_LINKER = YesPlease INTERNAL_QSORT = YesPlease HAVE_LIBCHARSET_H = YesPlease + NO_GETTEXT = YesPlease else NO_CURL = YesPlease endif -- 2.11.4.GIT