summaryrefslogtreecommitdiff
path: root/core/gettext/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/gettext/PKGBUILD')
-rw-r--r--core/gettext/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/gettext/PKGBUILD b/core/gettext/PKGBUILD
index 8b915e52f..b5a5cedfd 100644
--- a/core/gettext/PKGBUILD
+++ b/core/gettext/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gettext
pkgver=0.18.1.1
-pkgrel=4
+pkgrel=4.1
pkgdesc="GNU internationalization library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gettext/"
license=('GPL')
groups=('base')
@@ -13,13 +13,16 @@ depends=('gcc-libs' 'acl' 'sh' 'glib2')
optdepends=('cvs: for autopoint tool')
options=(!libtool !docs)
install=gettext.install
-source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz)
-md5sums=('3dd55b952826d2b32f51308f2f91aa89')
+source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz
+ gnulib-no-gets.patch)
+md5sums=('3dd55b952826d2b32f51308f2f91aa89'
+ 'ca29994ca712580744feda170999e7ae')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i "$srcdir/gnulib-no-gets.patch"
sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
- ./configure --prefix=/usr --enable-csharp
+ ./configure --build=$CHOST --prefix=/usr --enable-csharp
make
}