Date: Sunday, May 12, 2013 @ 08:28:26 Author: eric Revision: 185197 Add prepare function
Modified: inetutils/trunk/PKGBUILD ----------+ PKGBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-05-12 06:18:25 UTC (rev 185196) +++ PKGBUILD 2013-05-12 06:28:26 UTC (rev 185197) @@ -26,9 +26,13 @@ 'e4a764828b57f1e907ec96f4ae0e0cf0d3e2e802' 'eb952b0b9c3e3d429d8e21b110249e495f0e0e63') +prepare() { + cd ${pkgname}-${pkgver} + sed -i 's|_GL_WARN_ON_USE (gets|//_GL_WARN_ON_USE (gets|' lib/stdio.in.h +} + build() { cd ${pkgname}-${pkgver} - sed -i 's|_GL_WARN_ON_USE (gets|//_GL_WARN_ON_USE (gets|' lib/stdio.in.h ./configure --prefix=/usr --libexec=/usr/bin \ --localstatedir=/var --sysconfdir=/etc \ --without-wrap --with-pam \