stress-ng: adjust against glibc 2.41
authorJohn Audia <therealgraysky@proton.me>
Sun, 13 Jul 2025 16:48:14 +0000 (12:48 -0400)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 14 Jul 2025 20:27:09 +0000 (22:27 +0200)
Add optional depends for users of glibc.
Related: https://github.com/openwrt/packages/pull/26889

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <therealgraysky@proton.me>
utils/stress-ng/Makefile

index c1c68265db3521394ae53193f6ffdea9e31cf0e8..a73986b7697e4eacefc77a86c6639bc6fef619cb 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=stress-ng
 PKG_VERSION:=0.19.00
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/ColinIanKing/stress-ng/tar.gz/refs/tags/V$(PKG_VERSION)?
@@ -29,7 +29,7 @@ define Package/stress-ng
   CATEGORY:=Utilities
   TITLE:=stress-ng is a stress test utility
   URL:=https://github.com/ColinIanKing/stress-ng
-  DEPENDS:=+zlib +libbsd +libaio +libsctp +libkmod +libatomic +libjpeg
+  DEPENDS:=+zlib +libbsd +libaio +libsctp +libkmod +libatomic +libjpeg +USE_GLIBC:libcrypt-compat
   PROVIDES:=stress
 endef