xfsdump: fix build on xfsprogs>=5.2.

This commit is contained in:
Leah Neukirchen 2019-09-28 17:54:11 +02:00
parent 3787639c1d
commit 20fd510bf9
1 changed files with 5 additions and 4 deletions

View File

@ -1,18 +1,19 @@
# Template file for 'xfsdump'
pkgname=xfsdump
version=3.1.8
revision=1
revision=2
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
makedepends="libuuid-devel ncurses-devel xfsprogs-devel attr-devel"
short_desc="XFS filesystem incremental dump/restore utility"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="LGPL-2.1"
homepage="http://oss.sgi.com/projects/xfs/"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git/"
distfiles="${KERNEL_SITE}/utils/fs/xfs/xfsdump/xfsdump-${version}.tar.xz"
checksum=ed14e67ae5b273c2698e767b43a46f033d361e540fe13feaaf9b110ee0edc585
post_extract() {
sed -i 's/xfs_fsop_geom_v1_t/struct xfs_fsop_geom_v1/g' common/fs.c
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i -e 's/SIGCLD/SIGCHLD/g' \