summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng/0001-core-helper-remove-include-of-sys-mount.h.patch34
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng/0002-core-shim-remove-include-of-sys-mount.h.patch34
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb (renamed from meta/recipes-extended/stress-ng/stress-ng_0.14.03.bb)7
3 files changed, 2 insertions, 73 deletions
diff --git a/meta/recipes-extended/stress-ng/stress-ng/0001-core-helper-remove-include-of-sys-mount.h.patch b/meta/recipes-extended/stress-ng/stress-ng/0001-core-helper-remove-include-of-sys-mount.h.patch
deleted file mode 100644
index 52b2e61bc1..0000000000
--- a/meta/recipes-extended/stress-ng/stress-ng/0001-core-helper-remove-include-of-sys-mount.h.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 627e5227783ff2a0c3b11adee57ef7f0684a367e Mon Sep 17 00:00:00 2001
2From: Colin Ian King <colin.i.king@gmail.com>
3Date: Mon, 1 Aug 2022 21:39:39 +0100
4Subject: [PATCH 1/2] core-helper: remove include of sys/mount.h
5
6This is not required in the shim core and it fixes a build issue
7with newer glibc 2.36
8
9Fixes: https://github.com/ColinIanKing/stress-ng/issues/216
10
11Upstream-Status: Backport [https://github.com/ColinIanKing/stress-ng/commit/69f4f4d629c5f4304b5388b6a7fa8616de23f50e]
12Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
13---
14 core-helper.c | 4 ----
15 1 file changed, 4 deletions(-)
16
17diff --git a/core-helper.c b/core-helper.c
18index 6795410d..9e4533f2 100644
19--- a/core-helper.c
20+++ b/core-helper.c
21@@ -39,10 +39,6 @@
22 #include <sys/loadavg.h>
23 #endif
24
25-#if defined(HAVE_SYS_MOUNT_H)
26-#include <sys/mount.h>
27-#endif
28-
29 #if defined(HAVE_SYS_PRCTL_H)
30 #include <sys/prctl.h>
31 #endif
32--
332.37.1
34
diff --git a/meta/recipes-extended/stress-ng/stress-ng/0002-core-shim-remove-include-of-sys-mount.h.patch b/meta/recipes-extended/stress-ng/stress-ng/0002-core-shim-remove-include-of-sys-mount.h.patch
deleted file mode 100644
index 5cb95f1f2b..0000000000
--- a/meta/recipes-extended/stress-ng/stress-ng/0002-core-shim-remove-include-of-sys-mount.h.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 0503ec88e9187c0152b7b2840a1ad5bfb022bbfe Mon Sep 17 00:00:00 2001
2From: Colin Ian King <colin.i.king@gmail.com>
3Date: Mon, 1 Aug 2022 21:28:49 +0100
4Subject: [PATCH 2/2] core-shim: remove include of sys/mount.h
5
6This is not required in the shim core and it fixes a build issue
7with newer glibc 2.36
8
9Fixes: https://github.com/ColinIanKing/stress-ng/issues/216
10
11Upstream-Status: Backport [https://github.com/ColinIanKing/stress-ng/commit/0c9a711f213b5734729ab0c5ed90669e9fd11ca2]
12Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
13---
14 core-shim.c | 4 ----
15 1 file changed, 4 deletions(-)
16
17diff --git a/core-shim.c b/core-shim.c
18index 0343402a..324eba7d 100644
19--- a/core-shim.c
20+++ b/core-shim.c
21@@ -52,10 +52,6 @@
22 #include <asm/ldt.h>
23 #endif
24
25-#if defined(HAVE_SYS_MOUNT_H)
26-#include <sys/mount.h>
27-#endif
28-
29 #if defined(HAVE_SYS_PRCTL_H)
30 #include <sys/prctl.h>
31 #endif
32--
332.37.1
34
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.14.03.bb b/meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb
index 370662bbb3..359560b9e2 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.14.03.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb
@@ -5,11 +5,8 @@ HOMEPAGE = "https://github.com/ColinIanKing/stress-ng#readme"
5LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7 7
8SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master \ 8SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master"
9 file://0001-core-helper-remove-include-of-sys-mount.h.patch \ 9SRCREV = "03493cb69e91c29718ff9f645514355cd99762c6"
10 file://0002-core-shim-remove-include-of-sys-mount.h.patch \
11"
12SRCREV = "346518caffe5302f9a6d36860459c297c6968aaa"
13S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
14 11
15DEPENDS = "coreutils-native" 12DEPENDS = "coreutils-native"