new package:

- add the full gettext package
This commit is contained in:
Stephan Raue 2009-10-03 22:07:08 +02:00
parent 4af75eddd0
commit 98df6634cd
4 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
cd $PKG_BUILD/gettext-runtime
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--with-included-gettext \
--disable-static \
--enable-shared \
--disable-dependency-tracking \
--disable-java \
--disable-native-java \
--disable-libasprintf
make
$MAKEINSTALL

View File

@ -0,0 +1,6 @@
#!/bin/sh
. config/options
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/gettext-runtime/intl/.libs/libintl.so* $INSTALL/usr/lib

View File

@ -0,0 +1,29 @@
diff -Naur gettext-0.17/gettext-runtime/gnulib-lib/mbchar.h gettext-0.17a/gettext-runtime/gnulib-lib/mbchar.h
--- gettext-0.17/gettext-runtime/gnulib-lib/mbchar.h 2007-10-07 22:28:16.000000000 +0200
+++ gettext-0.17a/gettext-runtime/gnulib-lib/mbchar.h 2009-05-17 10:09:49.000000000 +0200
@@ -147,6 +147,8 @@
#include <stdbool.h>
#include <string.h>
+typedef unsigned int wint_t;
+
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
BSD/OS 4.1 has a bug: <stdio.h> and <time.h> must be included before
diff -Naur gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h gettext-0.17a/gettext-runtime/gnulib-lib/wchar.in.h
--- gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h 2007-10-04 00:23:31.000000000 +0200
+++ gettext-0.17a/gettext-runtime/gnulib-lib/wchar.in.h 2009-05-17 10:15:26.000000000 +0200
@@ -41,7 +41,7 @@
/* The include_next requires a split double-inclusion guard. */
#if @HAVE_WCHAR_H@
# @INCLUDE_NEXT@ @NEXT_WCHAR_H@
-#endif
+#else
#ifndef _GL_WCHAR_H
#define _GL_WCHAR_H
@@ -80,3 +80,4 @@
#endif /* _GL_WCHAR_H */
#endif /* _GL_WCHAR_H */
+#endif

View File

@ -0,0 +1 @@
http://mirrors.ircam.fr/pub/gnu/gnu/gettext/gettext-0.17.tar.gz