dante: fix usaage with musl
authorRosen Penev <redacted>
Sat, 14 Mar 2026 02:15:23 +0000 (19:15 -0700)
committerHannu Nyman <redacted>
Sun, 15 Mar 2026 20:06:28 +0000 (22:06 +0200)
Need to disable this function as it's unusable on musl.

Signed-off-by: Rosen Penev <redacted>
net/dante/Makefile

index 9def5e6797e009cf8aa57e3fe16b232901e3a930..9120487b31f2d8350fdac869a491d709115e7815 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dante
 PKG_VERSION:=1.4.4
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.inet.no/dante/files/
@@ -30,7 +30,9 @@ CONFIGURE_ARGS += \
        --without-pam \
        --disable-libwrap
 
+#disable sched_setscheduler as it's actually unusable.
 CONFIGURE_VARS += \
+       $(if $(CONFIG_USE_MUSL),ac_cv_func_sched_setscheduler=no) \
        ac_cv_search_pam_start=""
 
 TARGET_CFLAGS += $(if $(CONFIG_USE_MUSL),-I"$(STAGING_DIR)/usr/include/tirpc")
git clone https://git.99rst.org/PROJECT