[vlc-commits] contrib: gettext: fix build on OSX 10.7+
Rafaël Carré
git at videolan.org
Mon Jan 7 23:22:33 CET 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Jan 7 23:22:05 2013 +0100| [270278b3ac8f268ba49751b1788e743539ee46f4] | committer: Rafaël Carré
contrib: gettext: fix build on OSX 10.7+
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=270278b3ac8f268ba49751b1788e743539ee46f4
---
contrib/src/gettext/gettext-macosx.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/contrib/src/gettext/gettext-macosx.patch b/contrib/src/gettext/gettext-macosx.patch
index e66bd0f..8186768 100644
--- a/contrib/src/gettext/gettext-macosx.patch
+++ b/contrib/src/gettext/gettext-macosx.patch
@@ -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
More information about the vlc-commits
mailing list