summaryrefslogtreecommitdiff
path: root/Ports/stress-ng/patches/0014-Makefile-Install-to-usr-local.patch
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2022-03-18 01:51:12 -0700
committerLinus Groh <mail@linusgroh.de>2022-03-18 11:59:35 +0000
commit83abc83d3c906a0005702dcc495df40ad219883e (patch)
tree177bff0636e6076eef002e2557a27308ca17a8bd /Ports/stress-ng/patches/0014-Makefile-Install-to-usr-local.patch
parent011b6df63a9aa0f553817b42466c6133a28acd4b (diff)
downloadserenity-83abc83d3c906a0005702dcc495df40ad219883e.zip
Ports/stress-ng: Update stress-ng to 0.13.12
This required updating a bunch of patches which had conflicts in the latest version. New Patches: - serenity: Add bogus O_NDELAY just to allow the port to compile - serenity: Disable nice() stress workload as we do not implement it - serenity: Disable prctl stressor on serenity
Diffstat (limited to 'Ports/stress-ng/patches/0014-Makefile-Install-to-usr-local.patch')
-rw-r--r--Ports/stress-ng/patches/0014-Makefile-Install-to-usr-local.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/Ports/stress-ng/patches/0014-Makefile-Install-to-usr-local.patch b/Ports/stress-ng/patches/0014-Makefile-Install-to-usr-local.patch
new file mode 100644
index 0000000000..02d4fb024c
--- /dev/null
+++ b/Ports/stress-ng/patches/0014-Makefile-Install-to-usr-local.patch
@@ -0,0 +1,31 @@
+From 13d34247badfb4adcbf725c04dd6ee2af30e6995 Mon Sep 17 00:00:00 2001
+From: Ali Mohammad Pur <ali.mpfard@gmail.com>
+Date: Thu, 13 Jan 2022 16:13:02 +0330
+Subject: [PATCH 14/14] Makefile: Install to /usr/local
+
+---
+ Makefile | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index f8f71c5..1d90cd0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -74,10 +74,10 @@ LDFLAGS += -static -z muldefs
+ CFLAGS += -DBUILD_STATIC
+ endif
+
+-BINDIR=/usr/bin
+-MANDIR=/usr/share/man/man1
+-JOBDIR=/usr/share/stress-ng/example-jobs
+-BASHDIR=/usr/share/bash-completion/completions
++BINDIR=/usr/local/bin
++MANDIR=/usr/local/share/man/man1
++JOBDIR=/usr/local/share/stress-ng/example-jobs
++BASHDIR=/usr/local/share/bash-completion/completions
+
+ #
+ # Stressors
+--
+2.32.0
+