aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2020-08-29 21:32:07 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2020-08-30 20:20:55 +0200
commit904c48ac07d98c23213b33b160a8836cd80eb981 (patch)
tree4da02d5280a34e636fc0df4330380e13145f24e7
parent8f2fe00f0890d846b52adc19bccaf72842e36d85 (diff)
downloadbuildroot-904c48ac07d98c23213b33b160a8836cd80eb981.tar.gz
buildroot-904c48ac07d98c23213b33b160a8836cd80eb981.tar.bz2
package/stress-ng: add upstream patch to fix build failure for getresuid32
Fixes: http://autobuild.buildroot.net/results/f13/f13d85dfec371c38229bca988cd4bffa4cb97ae5/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--package/stress-ng/0002-stress-sysinval-fix-build-failure-for-getresuid32.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/stress-ng/0002-stress-sysinval-fix-build-failure-for-getresuid32.patch b/package/stress-ng/0002-stress-sysinval-fix-build-failure-for-getresuid32.patch
new file mode 100644
index 0000000000..9759e8c8ba
--- /dev/null
+++ b/package/stress-ng/0002-stress-sysinval-fix-build-failure-for-getresuid32.patch
@@ -0,0 +1,31 @@
+From 0c132280f973969db597b9983d4fa240f22761c4 Mon Sep 17 00:00:00 2001
+From: bybug <felxasus@gmail.com>
+Date: Thu, 2 Jul 2020 05:08:12 +0300
+Subject: [PATCH] stress-sysinval: fix build failure for getresuid32
+
+Fixing a build error for x86 architectures
+
+Signed-off-by: bybug <felxasus@gmail.com>
+Signed-off-by: Colin Ian King <colin.king@canonical.com>
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+[downloaded from upstream commit
+ https://github.com/ColinIanKing/stress-ng/commit/0c132280f973969db597b9983d4fa240f22761c4]
+---
+ stress-sysinval.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/stress-sysinval.c b/stress-sysinval.c
+index e9108bb0..0a4f383b 100644
+--- a/stress-sysinval.c
++++ b/stress-sysinval.c
+@@ -642,8 +642,8 @@ static const stress_syscall_arg_t stress_syscall_args[] = {
+ { SYS(getresuid), 3, { ARG_PTR_WR, ARG_PTR_WR, ARG_PTR_WR, 0, 0, 0 } },
+ #endif
+ #if DEFSYS(getresuid32)
+- { SYS(getresuid), 3, { ARG_PTR, ARG_PTR, ARG_PTR, 0, 0, 0 } },
+- { SYS(getresuid), 3, { ARG_PTR_WR, ARG_PTR_WR, ARG_PTR_WR, 0, 0, 0 } },
++ { SYS(getresuid32), 3, { ARG_PTR, ARG_PTR, ARG_PTR, 0, 0, 0 } },
++ { SYS(getresuid32), 3, { ARG_PTR_WR, ARG_PTR_WR, ARG_PTR_WR, 0, 0, 0 } },
+ #endif
+ #if DEFSYS(getrlimit)
+ { SYS(getrlimit), 2, { ARG_RND, ARG_PTR, 0, 0, 0, 0 } },