[vlc-commits] Contribs: build gettext with llvm

Jean-Baptiste Kempf git at videolan.org
Mon Jan 9 18:37:56 CET 2012


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

Contribs: build gettext with llvm

Close #5801
(cherry picked from commit 2b3f7fc5c6cc3cc9334761d41d8e266b10b7f87f)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=48206c55b17c58adc35ed61d1c6bbeb2653572b0
---

 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