diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-10-21 23:56:44 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-10-21 23:56:44 +0200 |
commit | 7e9d319e9575e68d86463b792425fcdba0f195d2 (patch) | |
tree | 8cd47511f55275a65d61b9fb0ed9d84d23bc09f6 /core/gettext/PKGBUILD | |
parent | 02de600478bc393832a0707be7ea4b6c304d9e02 (diff) |
Fix the gnulib gets error with glibc 2.16 in core packages.
Diffstat (limited to 'core/gettext/PKGBUILD')
-rw-r--r-- | core/gettext/PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/gettext/PKGBUILD b/core/gettext/PKGBUILD index e67b2d195..b5a5cedfd 100644 --- a/core/gettext/PKGBUILD +++ b/core/gettext/PKGBUILD @@ -13,11 +13,14 @@ 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 --build=$CHOST --prefix=/usr --enable-csharp make |