aboutsummaryrefslogtreecommitdiffstats
path: root/community/stress-ng/fix-kernel-header-detection.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-29 09:39:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-29 09:39:56 +0000
commitdd02ab6587fae49758cfbb245f024825ba8fe201 (patch)
tree70e293fe5a4b73c53872475b818812304ebac86d /community/stress-ng/fix-kernel-header-detection.patch
parent49a8e07ed854de0916de7f9b37ec1d672e32906d (diff)
downloadaports-dd02ab6587fae49758cfbb245f024825ba8fe201.tar.bz2
aports-dd02ab6587fae49758cfbb245f024825ba8fe201.tar.xz
community/stress-ng: fix build with new musl and old kernel-headers
Diffstat (limited to 'community/stress-ng/fix-kernel-header-detection.patch')
-rw-r--r--community/stress-ng/fix-kernel-header-detection.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/stress-ng/fix-kernel-header-detection.patch b/community/stress-ng/fix-kernel-header-detection.patch
new file mode 100644
index 0000000000..f93961e2b3
--- /dev/null
+++ b/community/stress-ng/fix-kernel-header-detection.patch
@@ -0,0 +1,14 @@
+diff --git a/stress-ramfs.c b/stress-ramfs.c
+index 09d89a9..f02ce28 100644
+--- a/stress-ramfs.c
++++ b/stress-ramfs.c
+@@ -191,7 +191,8 @@ static int stress_ramfs_child(const args_t *args)
+ #if defined(__NR_fsopen) && \
+ defined(__NR_fsmount) && \
+ defined(__NR_fsconfig) && \
+- defined(__NR_move_mount)
++ defined(__NR_move_mount) && \
++ defined(FSCONFIG_SET_STRING)
+ /*
+ * Use the new Linux 5.2 mount system calls
+ */