aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/gettext-native/01-gettext-tools-stpncpy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/native/gettext-native/01-gettext-tools-stpncpy.patch')
-rw-r--r--tools/depends/native/gettext-native/01-gettext-tools-stpncpy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/depends/native/gettext-native/01-gettext-tools-stpncpy.patch b/tools/depends/native/gettext-native/01-gettext-tools-stpncpy.patch
new file mode 100644
index 0000000000..e5f4869310
--- /dev/null
+++ b/tools/depends/native/gettext-native/01-gettext-tools-stpncpy.patch
@@ -0,0 +1,11 @@
+--- gettext-0.17.orig/gettext-tools/gnulib-lib/stpncpy.c 2010-05-24 05:42:47.000000000 -0400
++++ gettext-0.17/gettext-tools/gnulib-lib/stpncpy.c 2013-01-18 00:46:43.000000000 -0500
+@@ -24,7 +24,7 @@
+ /* Specification. */
+ #include <string.h>
+
+-#ifndef weak_alias
++#ifndef HAVE_STPNCPY
+ # define __stpncpy stpncpy
+ #endif
+