Commit 48206c55 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: build gettext with llvm

Close #5801
(cherry picked from commit 2b3f7fc5)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 447578df
......@@ -9,3 +9,15 @@
static const char *backup_suffix_string;
/* Long options. */
--- gettext/gettext-tools/configure 2010-06-06 13:12:20.000000000 -0700
+++ gettext/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];
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