]> git.sesse.net Git - vlc/blob - contrib/src/gettext/gettext-macosx.patch
visual: use mutexes
[vlc] / contrib / src / gettext / gettext-macosx.patch
1 --- gettext/gettext-tools/src/msgmerge.c.orig   2007-10-21 03:25:52.000000000 +0200
2 +++ gettext/gettext-tools/src/msgmerge.c        2008-03-23 19:54:36.000000000 +0100
3 @@ -96,7 +96,7 @@
4  
5  /* Update mode.  */
6  static bool update_mode = false;
7 -static const char *version_control_string;
8 +static const char *version_control_string = "none";
9  static const char *backup_suffix_string;
10  
11  /* Long options.  */
12 --- gettext/gettext-tools/configure     2010-06-06 13:12:20.000000000 -0700
13 +++ gettext/gettext-tools/configure     2010-08-13 23:24:09.000000000 -0700
14 @@ -40606,7 +40606,9 @@ else
15  #include <stdlib.h>
16  #include <string.h> /* for strcpy */
17  /* The stpncpy prototype is missing in <string.h> on AIX 4.  */
18 +#ifndef stpncpy
19  extern char *stpncpy (char *dest, const char *src, size_t n);
20 +#endif
21  int main () {
22    const char *src = "Hello";
23    char dest[10];