summaryrefslogtreecommitdiffstats
path: root/gettext-0.19.8.1-cygwin-ftm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-0.19.8.1-cygwin-ftm.patch')
-rw-r--r--gettext-0.19.8.1-cygwin-ftm.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gettext-0.19.8.1-cygwin-ftm.patch b/gettext-0.19.8.1-cygwin-ftm.patch
new file mode 100644
index 0000000..23f88f0
--- /dev/null
+++ b/gettext-0.19.8.1-cygwin-ftm.patch
@@ -0,0 +1,11 @@
+--- origsrc/gettext-0.19.8.1/gettext-runtime/intl/libgnuintl.in.h 2016-06-09 17:56:00.000000000 -0500
++++ src/gettext-0.19.8.1/gettext-runtime/intl/libgnuintl.in.h 2016-10-20 11:03:43.187813700 -0500
+@@ -435,7 +435,7 @@ extern int vswprintf (wchar_t *, size_t,
+ extern char *setlocale (int, const char *);
+ #endif
+
+-#if @HAVE_NEWLOCALE@
++#if @HAVE_NEWLOCALE@ && __POSIX_VISIBLE >= 200809
+
+ #undef newlocale
+ #define newlocale libintl_newlocale