aboutsummaryrefslogtreecommitdiffstats
path: root/testing/eatmemory/makefile.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-01-12 13:28:57 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-01-12 13:28:57 +0000
commitd3cf1967483d1f925e59460d2aee7a9ff4747444 (patch)
tree91b95f864dfa01f23c0d124b662955fd934cc618 /testing/eatmemory/makefile.patch
parent0881fc56b0977a60b970c68980188cdcdd8c8f25 (diff)
downloadaports-d3cf1967483d1f925e59460d2aee7a9ff4747444.tar.bz2
aports-d3cf1967483d1f925e59460d2aee7a9ff4747444.tar.xz
testing/eatmemory: new aport
Simple utility to allocate memory on a computer. Useful for testing.
Diffstat (limited to 'testing/eatmemory/makefile.patch')
-rw-r--r--testing/eatmemory/makefile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/eatmemory/makefile.patch b/testing/eatmemory/makefile.patch
new file mode 100644
index 0000000000..a838373a86
--- /dev/null
+++ b/testing/eatmemory/makefile.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -2,7 +2,7 @@
+ $(CC) eatmemory.c -o eatmemory
+
+ install: eatmemory
+- install -m 0755 eatmemory $(PREFIX)/usr/bin/eatmemory
++ install -D -m 0755 eatmemory $(PREFIX)/usr/bin/eatmemory
+
+ clean:
+ rm -rf *o eatmemory