[vlc-commits] Contribs: build gettext with llvm

Jean-Baptiste Kempf git at videolan.org
Mon Jan 9 11:53:53 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan  9 11:53:22 2012 +0100| [2b3f7fc5c6cc3cc9334761d41d8e266b10b7f87f] | committer: Jean-Baptiste Kempf

Contribs: build gettext with llvm

Close #5801

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

 contrib/src/gettext/gettext-macosx.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/contrib/src/gettext/gettext-macosx.patch b/contrib/src/gettext/gettext-macosx.patch
index 214fb3d..e66bd0f 100644
--- a/contrib/src/gettext/gettext-macosx.patch
+++ b/contrib/src/gettext/gettext-macosx.patch
@@ -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];



More information about the vlc-commits mailing list