The modified source based on reiserfscore/prints.c is included in files/prints.c to make it easily possible to apply fixes and create a new diff against the original. First test on a Void Linux musl box seem to indicate success. There is still a chance of the prints.c conversion missing some aspects.
24 lines
737 B
Bash
24 lines
737 B
Bash
# Template file for 'reiserfsprogs'
|
|
pkgname=reiserfsprogs
|
|
version=3.6.24
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake pkg-config"
|
|
makedepends="libuuid-devel"
|
|
short_desc="Reiserfs utilities"
|
|
maintainer="Alexander Mamay <alexander@mamay.su>"
|
|
license="GPL-2"
|
|
homepage="https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/"
|
|
distfiles="${KERNEL_SITE}/kernel/people/jeffm/${pkgname}/v${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=7e44fefe557d68a642191428210f3d64d80283b9ad0e45c24130f6ce936b0760
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" musl-obstack" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) patch -p0 < ${FILESDIR}/musl-configure_ac.patch
|
|
esac
|
|
autoreconf -if
|
|
}
|