diff --git a/package/stress-ng/0001-stress-pthread-fix-non-NPTL-build.patch b/package/stress-ng/0001-stress-pthread-fix-non-NPTL-build.patch deleted file mode 100644 index 518296fdc4..0000000000 --- a/package/stress-ng/0001-stress-pthread-fix-non-NPTL-build.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 73d1f5ed2167fca8a1cbfb85f4da123f00e524a1 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sun, 30 Nov 2025 11:36:10 +0100 -Subject: [PATCH] stress-pthread: fix non-NPTL build - -https://github.com/ColinIanKing/stress-ng/commit/15b26e33daaf36acd5eeceaaf6fc954f46792a8b -added the usage of attr without using HAVE_PTHREAD_ATTR_SETSTACK for -toolchains without NPTL support. - -This patch fixes build errors detected by buildroot autobuilders: -https://autobuild.buildroot.net/results/d4f/d4fadef213455b1776d93e30e51ffe09fb1879c5/build-end.log - -stress-pthread.c: In function 'stress_pthread': -stress-pthread.c:567:81: error: 'attr' undeclared (first use in this function) - 567 | pthreads[i].ret = pthread_create(&pthreads[i].pthread, &attr, - -Upstream: https://github.com/ColinIanKing/stress-ng/pull/593 - -Signed-off-by: Bernd Kuhls ---- - stress-pthread.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/stress-pthread.c b/stress-pthread.c -index aafcf0f0a..8605b7a1d 100644 ---- a/stress-pthread.c -+++ b/stress-pthread.c -@@ -564,7 +564,11 @@ static int stress_pthread(stress_args_t *args) - - pthreads[i].t_create = stress_time_now(); - pthreads[i].t_run = pthreads[i].t_create; -+#if defined(HAVE_PTHREAD_ATTR_SETSTACK) - pthreads[i].ret = pthread_create(&pthreads[i].pthread, &attr, -+#else -+ pthreads[i].ret = pthread_create(&pthreads[i].pthread, NULL, -+#endif - stress_pthread_func, (void *)&pargs); - if (UNLIKELY(pthreads[i].ret)) { - /* Out of resources, don't try any more */ --- -2.47.3 - diff --git a/package/stress-ng/stress-ng.hash b/package/stress-ng/stress-ng.hash index dbe5f60a25..f91aa76054 100644 --- a/package/stress-ng/stress-ng.hash +++ b/package/stress-ng/stress-ng.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 054953145d7de36725a54636ea68975bb9ada06b4769878d25e556fab5804513 stress-ng-0.19.06.tar.gz +sha256 fe9e5161ac186c6ada22963251ff701fe3275fac2c5b87bdb59c4cab08aaeaae stress-ng-0.20.00.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/stress-ng/stress-ng.mk b/package/stress-ng/stress-ng.mk index 7240e3e321..32ac21b540 100644 --- a/package/stress-ng/stress-ng.mk +++ b/package/stress-ng/stress-ng.mk @@ -4,7 +4,7 @@ # ################################################################################ -STRESS_NG_VERSION = 0.19.06 +STRESS_NG_VERSION = 0.20.00 STRESS_NG_SITE = $(call github,ColinIanKing,stress-ng,V$(STRESS_NG_VERSION)) STRESS_NG_LICENSE = GPL-2.0+ STRESS_NG_LICENSE_FILES = COPYING