mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
outils: unbreak musl
This commit is contained in:
parent
87eafb9366
commit
84613a66f1
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'outils'
|
# Template file for 'outils'
|
||||||
pkgname=outils
|
pkgname=outils
|
||||||
version=0.3
|
version=0.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="install install-calendars"
|
make_install_args="install install-calendars"
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
|
@ -14,6 +14,12 @@ homepage="https://github.com/chneukirchen/outils"
|
||||||
distfiles="https://github.com/chneukirchen/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/chneukirchen/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=de4c947f8b71513c01a07e7f8e0958a891d3484cea0485d29ec531fa75042d64
|
checksum=de4c947f8b71513c01a07e7f8e0958a891d3484cea0485d29ec531fa75042d64
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
# Use <stdint.h> types everywhere
|
||||||
|
find src -type f -exec sed -i "{}" -e "s;u_int;uint;g" -e "s;u_char;uint8_t;g" \;
|
||||||
|
sed -i src/liboutils/sha1.c -e "s;uint i;uint32_t i;"
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} CC="$CC" CFLAGS="$CFLAGS"
|
make ${makejobs} CC="$CC" CFLAGS="$CFLAGS"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue