From 8fdd28299823d14f55f2dfad2d54250e826dc5d3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 5 Feb 2013 01:26:31 +0100 Subject: [PATCH] chroot-tar: make this build with glibc-2.17. --- srcpkgs/chroot-tar/template | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/srcpkgs/chroot-tar/template b/srcpkgs/chroot-tar/template index 45499cfe64f..8410273e635 100644 --- a/srcpkgs/chroot-tar/template +++ b/srcpkgs/chroot-tar/template @@ -1,28 +1,24 @@ # Template build file for 'chroot-tar'. pkgname=chroot-tar version=1.26 -wrksrc="tar-${version}" -distfiles="http://ftp.gnu.org/gnu/tar/tar-$version.tar.bz2" -build_style=gnu-configure revision=1 -short_desc="The GNU tape archiver -- for xbps-src use" -maintainer="Juan RP " -checksum=5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41 +wrksrc="tar-${version}" +build_style=gnu-configure homepage="http://www.gnu.org/software/tar/" license="GPL-3" -long_desc=" - GNU tar, originally shipped as NetBSD's tar up to version 1.3, is a - full-featured tar command that can access remote and local magnetic tapes, - tar files (ustar, POSIX, and V7), and even compressed or gzipped versions - of these. Note that as of the current version of GNU tar (1.12), gtar - does not create correct ustar archives. - - This package is only meant to be used by xbps-src, don't install it manually." +short_desc="The GNU tape archiver -- for xbps-src use" +maintainer="Juan RP " +distfiles="http://ftp.gnu.org/gnu/tar/tar-$version.tar.bz2" +checksum=5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41 bootstrap=yes conflicts="tar>=0" provides="tar-${version}" +pre_configure() { + sed -i -e '/gets is a/d' gnu/stdio.in.h +} + post_install() { rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/libexec }