* runit is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
26 lines
742 B
Bash
26 lines
742 B
Bash
# Template file for 'reiserfsprogs'
|
|
pkgname=reiserfsprogs
|
|
version=3.6.27
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="libuuid-devel e2fsprogs-devel acl-devel"
|
|
short_desc="Reiserfs utilities"
|
|
maintainer="Alexander Mamay <alexander@mamay.su>"
|
|
license="GPL-2.0-or-later"
|
|
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=0e95b67fa7746a3c2d59145e9b9c2feb4a6be52853e83b497b182eae508e62e3
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
makedepends+=" musl-obstack-devel"
|
|
LDFLAGS="-lobstack"
|
|
;;
|
|
esac
|
|
|
|
CFLAGS="-fgnu89-inline"
|
|
|
|
pre_configure() {
|
|
autoreconf -if
|
|
}
|