dante: fix runtime on musl.
musl implements the sched_{set,get}scheduler functions as stubs.
Unfortunately, dante fails if the functions are available but return an
error, which is always the case for musl. Force it to think setscheduler
isn't available (var appropriated from Alpine).
Fixes #28180
This commit is contained in:
committed by
Érico Nogueira Rolim
parent
a9f501339b
commit
54aec287ec
@@ -1,7 +1,7 @@
|
||||
# Template file for 'dante'
|
||||
pkgname=dante
|
||||
version=1.4.2
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="tar automake libtool"
|
||||
short_desc="SOCKS server and client"
|
||||
@@ -13,6 +13,8 @@ checksum=4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||
configure_args="--with-libc=libc.so.6"
|
||||
else
|
||||
configure_args="ac_cv_func_sched_setscheduler=no"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
|
||||
Reference in New Issue
Block a user