diff options
| -rw-r--r-- | ports/gettext/0003-Fix-win-unicode-paths.patch | 2 | ||||
| -rw-r--r-- | ports/gettext/CONTROL | 2 | ||||
| -rw-r--r-- | ports/gettext/config.win32.h | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/ports/gettext/0003-Fix-win-unicode-paths.patch b/ports/gettext/0003-Fix-win-unicode-paths.patch index f86c52c86..540ac3d92 100644 --- a/ports/gettext/0003-Fix-win-unicode-paths.patch +++ b/ports/gettext/0003-Fix-win-unicode-paths.patch @@ -16,7 +16,7 @@ index 63351523..c078de3f 100644 +# endif +# undef NOMINMAX +# define NOMINMAX -+# include <Windows.h> // For: MultiByteToWideChar ++# include <windows.h> // For: MultiByteToWideChar +# include <io.h> +# include <wchar.h> + diff --git a/ports/gettext/CONTROL b/ports/gettext/CONTROL index 5cfa7b0d7..0918e1943 100644 --- a/ports/gettext/CONTROL +++ b/ports/gettext/CONTROL @@ -1,5 +1,5 @@ Source: gettext -Version: 0.19-14 +Version: 0.19-15 Homepage: https://www.gnu.org/software/gettext/ Description: The GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. Provides libintl. Build-Depends: libiconv diff --git a/ports/gettext/config.win32.h b/ports/gettext/config.win32.h index b68467cf3..e8507894d 100644 --- a/ports/gettext/config.win32.h +++ b/ports/gettext/config.win32.h @@ -275,7 +275,9 @@ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mempcpy' function. */ -/* #undef HAVE_MEMPCPY */ +#ifdef __GNUC__ +#define HAVE_MEMPCPY 1 +#endif /* Define to 1 if you have a working `mmap' system call. */ /* #undef HAVE_MMAP */ |
