chroot-diffutils: make this build with glibc-2.17.

This commit is contained in:
Juan RP 2013-02-02 16:48:10 +01:00
parent fcf4486158
commit 33780d2f41

View file

@ -2,13 +2,13 @@
pkgname=chroot-diffutils pkgname=chroot-diffutils
version=3.2 version=3.2
wrksrc="diffutils-${version}" wrksrc="diffutils-${version}"
distfiles="${GNU_SITE}/diffutils/diffutils-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
revision=1 revision=1
short_desc="The GNU diff utilities -- for xbps-src use" short_desc="The GNU diff utilities -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/diffutils" homepage="http://www.gnu.org/software/diffutils"
license="GPL-3" license="GPL-3"
distfiles="${GNU_SITE}/diffutils/diffutils-$version.tar.xz"
checksum=ab4fb75d0ef35f3c8c9a148cd3526ba6f4db71d10467a041eb45006436079149 checksum=ab4fb75d0ef35f3c8c9a148cd3526ba6f4db71d10467a041eb45006436079149
long_desc=" long_desc="
Diffutils contains the GNU diff, diff3, sdiff, and cmp utilities. Their Diffutils contains the GNU diff, diff3, sdiff, and cmp utilities. Their
@ -22,6 +22,10 @@ bootstrap=yes
conflicts="diffutils>=0" conflicts="diffutils>=0"
provides="diffutils-${version}" provides="diffutils-${version}"
pre_configure() {
sed -i -e '/gets is a/d' lib/stdio.in.h
}
post_install() { post_install() {
rm -rf ${DESTDIR}/usr/share rm -rf ${DESTDIR}/usr/share
} }