mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
rset: fix build for musl
Use Makefile.linux-compat to use fallback arc4random implementation.
This commit is contained in:
parent
3579580273
commit
1c5c956498
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ changelog="https://github.com/eradman/rset/blob/master/NEWS"
|
||||||
distfiles="https://scriptedconfiguration.org/code/rset-${version}.tar.gz"
|
distfiles="https://scriptedconfiguration.org/code/rset-${version}.tar.gz"
|
||||||
checksum=065b11ebe17f766478f748cc792a554a02fafb2f5d98a07a48e68417b5c5d2d8
|
checksum=065b11ebe17f766478f748cc792a554a02fafb2f5d98a07a48e68417b5c5d2d8
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
make_build_args="-f Makefile.linux-compat"
|
||||||
|
fi
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
vsed -i -e 's/hostname -s/hostname/' tests/input/local_exec.pln
|
vsed -i -e 's/hostname -s/hostname/' tests/input/local_exec.pln
|
||||||
vsed -i -e "s/'r'/O_RDONLY/" tests/cmd_pipe_stdin.c
|
vsed -i -e "s/'r'/O_RDONLY/" tests/cmd_pipe_stdin.c
|
||||||
|
|
Loading…
Add table
Reference in a new issue