From 71ac987cebb2d8e17fb09b7674a9c6d4776e5a34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Sat, 1 Aug 2020 15:34:33 +0200 Subject: [PATCH] Update to 0.21 See https://lists.gnu.org/archive/html/bug-gettext/2020-07/msg00035.html for the applied patch. --- Gettext.Tools.nuspec | 2 +- Makefile | 2 +- ...d-failure-on-mingw-formatstring_ruby.patch | 24 +++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 patches/gettext-0.21-0001-build-Fix-build-failure-on-mingw-formatstring_ruby.patch diff --git a/Gettext.Tools.nuspec b/Gettext.Tools.nuspec index ef464af..63e4f70 100644 --- a/Gettext.Tools.nuspec +++ b/Gettext.Tools.nuspec @@ -2,7 +2,7 @@ Gettext.Tools - 0.20.2 + 0.21 GNU gettext tools for Windows Vaclav Slavik GPL-3.0-or-later diff --git a/Makefile b/Makefile index aef8f36..b63693e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -GETTEXT_VERSION = 0.20.2 +GETTEXT_VERSION = 0.21 LIBICONV_VERSION = 1.16 # version of the gettext-tools-windows package; usually same as GETTEXT_VERSION diff --git a/patches/gettext-0.21-0001-build-Fix-build-failure-on-mingw-formatstring_ruby.patch b/patches/gettext-0.21-0001-build-Fix-build-failure-on-mingw-formatstring_ruby.patch new file mode 100644 index 0000000..1444d5f --- /dev/null +++ b/patches/gettext-0.21-0001-build-Fix-build-failure-on-mingw-formatstring_ruby.patch @@ -0,0 +1,24 @@ +From 296c70c182c93c78c59c751db45823012dad5b4e Mon Sep 17 00:00:00 2001 +From: Michele Locati +Date: Thu, 30 Jul 2020 18:58:02 +0200 +Subject: [PATCH] build: Fix build failure on mingw (formatstring_ruby) + +--- + gettext-tools/woe32dll/gettextsrc-exports.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gettext-tools/woe32dll/gettextsrc-exports.c b/gettext-tools/woe32dll/gettextsrc-exports.c +index 4477ae8d4..6d7608959 100644 +--- a/gettext-tools/woe32dll/gettextsrc-exports.c ++++ b/gettext-tools/woe32dll/gettextsrc-exports.c +@@ -50,6 +50,7 @@ VARIABLE(formatstring_python) + VARIABLE(formatstring_python_brace) + VARIABLE(formatstring_qt) + VARIABLE(formatstring_qt_plural) ++VARIABLE(formatstring_ruby) + VARIABLE(formatstring_scheme) + VARIABLE(formatstring_sh) + VARIABLE(formatstring_smalltalk) +-- +2.28.0.windows.1 +