diff options
Diffstat (limited to 'mac/stpncpy.patch')
-rw-r--r-- | mac/stpncpy.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mac/stpncpy.patch b/mac/stpncpy.patch new file mode 100644 index 0000000..e18af95 --- /dev/null +++ b/mac/stpncpy.patch @@ -0,0 +1,13 @@ +diff -Naurp gettext-0.18.1.1.orig/gettext-tools/configure gettext-0.18.1.1/gettext-tools/configure +--- gettext-tools/configure 2010-06-06 13:12:20.000000000 -0700 ++++ gettext-tools/configure 2010-08-13 23:24:09.000000000 -0700 +@@ -40606,7 +40606,9 @@ else + #include <stdlib.h> + #include <string.h> /* for strcpy */ + /* The stpncpy prototype is missing in <string.h> on AIX 4. */ ++#ifndef stpncpy + extern char *stpncpy (char *dest, const char *src, size_t n); ++#endif + int main () { + const char *src = "Hello"; + char dest[10]; |