Commit e85f60e2 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

contrib: gettext: fix build on OSX 10.7+

(cherry picked from commit 270278b3ac8f268ba49751b1788e743539ee46f4)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2181b87d
......@@ -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