vlc/vlc-2.0 | branch: master | Rafaël Carré <[email protected]> | Mon Jan  7 
23:22:05 2013 +0100| [e85f60e294f13825093d2bc4540e10d490940b1d] | committer: 
Jean-Baptiste Kempf

contrib: gettext: fix build on OSX 10.7+
(cherry picked from commit 270278b3ac8f268ba49751b1788e743539ee46f4)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=e85f60e294f13825093d2bc4540e10d490940b1d
---

 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

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to