mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
xfsdump: update to 3.1.6.
This commit is contained in:
parent
674e1697df
commit
6b22b6273b
1 changed files with 12 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xfsdump'
|
# Template file for 'xfsdump'
|
||||||
pkgname=xfsdump
|
pkgname=xfsdump
|
||||||
version=3.1.4
|
version=3.1.6
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin"
|
configure_args="--sbindir=/usr/bin"
|
||||||
makedepends="libuuid-devel ncurses-devel xfsprogs-devel attr-devel"
|
makedepends="libuuid-devel ncurses-devel xfsprogs-devel attr-devel"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
homepage="http://oss.sgi.com/projects/xfs/"
|
homepage="http://oss.sgi.com/projects/xfs/"
|
||||||
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-${version}.tar.gz"
|
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-${version}.tar.gz"
|
||||||
checksum=570eafd0721515bdd79cb0e295b701d49cdf81e71a0a0ff0df6d4c5cc1960943
|
checksum=7f78c11ca527477d90e5e62b0778f3ad96f2b71c19173044e9aca9515fff42d0
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
@ -18,6 +18,15 @@ post_extract() {
|
||||||
sed -i -e 's/SIGCLD/SIGCHLD/g' \
|
sed -i -e 's/SIGCLD/SIGCHLD/g' \
|
||||||
-e 's/RLIM64_INFINITY/RLIM_INFINITY/g' \
|
-e 's/RLIM64_INFINITY/RLIM_INFINITY/g' \
|
||||||
common/main.c
|
common/main.c
|
||||||
|
sed -i -e 's/constpp/& const/' common/types.h
|
||||||
|
sed -i -e '1i#include <stdio.h>' invutil/invutil.c librmt/rmtioctl.c */inv_fstab.c */content.c */inv_idx.c */inv_mgr.c */inv_stobj.c
|
||||||
|
sed -i -e '1i#include <fcntl.h>' invutil/invidx.c
|
||||||
|
sed -i -e '1i#include <stdlib.h>' common/drive.c
|
||||||
|
sed -i -e '1i#include <limits.h>' */var.c
|
||||||
|
sed -i -e '1i#include <stdio.h>' common/drive_*.c common/global.c
|
||||||
|
sed -i -e '1i#include <sys/types.h>' */content.c
|
||||||
|
sed -i -e 's,sys/signal,signal,' librmt/rmtopen.c
|
||||||
|
sed -i -e 's/__uint32_t/uint32_t/g' */*.h
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue