From 78853cfca6b848f8f00ad93f4b2c5e968c00c698 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Thu, 25 Sep 2014 09:29:56 +0200
Subject: [PATCH] gettext: update to 0.19.2.

---
 common/shlibs            |  4 ++--
 srcpkgs/gettext/template | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index c917f1797c..61e41a1062 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -186,8 +186,8 @@ libdb-4.8.so libdb-4.8.24_1
 libdb_cxx-4.8.so libdb-cxx-4.8.24_1
 libgdbm.so.4 gdbm-1.10_1_1
 libgdbm_compat.so.4 gdbm-1.10_1_1
-libgettextsrc-0.18.3.so gettext-libs-0.18.3_1
-libgettextlib-0.18.3.so gettext-libs-0.18.3_1
+libgettextsrc-0.19.2.so gettext-libs-0.19.2_1
+libgettextlib-0.19.2.so gettext-libs-0.19.2_1
 libgettextpo.so.0 gettext-libs-0.17_1
 libattr.so.1 attr-2.4.43_1
 libacl.so.1 acl-2.2.47_1
diff --git a/srcpkgs/gettext/template b/srcpkgs/gettext/template
index 9e5df22338..9993ebbfe8 100644
--- a/srcpkgs/gettext/template
+++ b/srcpkgs/gettext/template
@@ -1,6 +1,6 @@
 # Template build file for 'gettext'.
 pkgname=gettext
-version=0.18.3.1
+version=0.19.2
 revision=1
 build_style=gnu-configure
 configure_args="--disable-java --disable-native-java --disable-csharp
@@ -13,17 +13,18 @@ maintainer="Juan RP <xtraeme@gmail.com>"
 homepage="http://www.gnu.org/software/gettext/"
 license="GPL-3"
 distfiles="http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
+checksum=0c48ae6ef6e0abcf6cd9cb9dcdc593d0e1a367e82259bbe113ce88ceea9249bb
 
 if [ "$CROSS_BUILD" ]; then
-	hostmakedepends="automake libtool"
+	hostmakedepends="automake libtool git"
 	pre_configure() {
-		autoreconf -fi
+		NOCONFIGURE=1 ./autogen.sh
+		libtoolize -f
 	}
 fi
 
 gettext-devel_package() {
-	depends="gettext-libs>=${version}"
+	depends="gettext-libs>=${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include
@@ -33,7 +34,6 @@ gettext-devel_package() {
 		vmove usr/share/gettext
 	}
 }
-
 gettext-libs_package() {
 	short_desc+=" - shared libraries"
 	pkg_install() {