浏览代码

package/stress-ng: bump to 0.20.00

Removed unnecessary patch after merge of
https://github.com/ColinIanKing/stress-ng/commit/05353c7a9d0439e250f82ef9fc5643149811bb24

Changelog:
https://github.com/ColinIanKing/stress-ng/releases/tag/V0.20.00

Signed-off-by: Pierre-Yves Kerbrat <pkerbrat@free.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Pierre-Yves Kerbrat 1 周之前
父节点
当前提交
f4befa9ff6

+ 0 - 42
package/stress-ng/0001-stress-pthread-fix-non-NPTL-build.patch

@@ -1,42 +0,0 @@
-From 73d1f5ed2167fca8a1cbfb85f4da123f00e524a1 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <bernd@kuhls.net>
-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 <bernd@kuhls.net>
----
- 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
-

+ 1 - 1
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

+ 1 - 1
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