rom-properties/extlib/gettext.win32/patches/1003-gettextsrc-exports-missing-formatstring-ruby.patch
David Korth 98af19118b [gettext.win32] Updated gettext-win32: 0.20.2 -> 0.21
Main changes:
- gettext now has wbindtextdomain() on Windows, so we can remove our
  custom Unicode patch.
- The 64-bit version seems to always build DllMain from the relocatable
  package, even though we're disabling that...

New patches:

122-Use-LF-as-newline-in-envsubst.patch
- From: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-gettext
- Use LF as newlines instead of CRLF.

1002-dcigettext-c-include-wchar-h.patch:
- #include <wchar.h> for _wgetcwd().

1003-gettextsrc-exports-missing-formatstring-ruby.patch:
- Fix a missing export for formatstring_ruby, which fixes an undefined
  __imp_* symbol error.

1004-gettext-runtime-disable-iconv.patch:
- Disable iconv support in gettext runtime so we don't need to bundle
  iconv.dll in the final package.
- Was applied previously, but I forgot to include it as a patch.
2020-08-20 19:08:03 -04:00

11 lines
436 B
Diff
Vendored

--- gettext-0.21/gettext-tools/woe32dll/gettextsrc-exports.c.orig 2019-12-23 06:21:12.000000000 -0500
+++ gettext-0.21/gettext-tools/woe32dll/gettextsrc-exports.c 2020-08-20 12:20:30.752088214 -0400
@@ -50,6 +50,7 @@
VARIABLE(formatstring_python_brace)
VARIABLE(formatstring_qt)
VARIABLE(formatstring_qt_plural)
+VARIABLE(formatstring_ruby)
VARIABLE(formatstring_scheme)
VARIABLE(formatstring_sh)
VARIABLE(formatstring_smalltalk)