Commit 270278b3 authored by Rafaël Carré's avatar Rafaël Carré

contrib: gettext: fix build on OSX 10.7+

parent e76a28e0
......@@ -21,3 +21,14 @@
int main () {
const char *src = "Hello";
char dest[10];
--- gettext/gettext-tools/gnulib-lib/stpncpy.c.orig 2013-01-07 23:17:13.000000000 +0100
+++ gettext/gettext-tools/gnulib-lib/stpncpy.c 2013-01-07 23:17:25.000000000 +0100
@@ -24,6 +24,8 @@
/* Specification. */
#include <string.h>
+#undef stpncpy
+
#ifndef weak_alias
# define __stpncpy stpncpy
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment