aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/stress-ng
diff options
context:
space:
mode:
authorLuca Pizzamiglio <pizzamig@FreeBSD.org>2019-06-21 11:03:18 +0000
committerLuca Pizzamiglio <pizzamig@FreeBSD.org>2019-06-21 11:03:18 +0000
commitcda0fe27097558a1e33c09c8321e0f7c2f12e352 (patch)
tree3ca541c5389d7d97090aafc926d9da54c588fc62 /benchmarks/stress-ng
parent1ca1afc40552dae69fc198fb8069aee6aab597dd (diff)
downloadports-cda0fe27097558a1e33c09c8321e0f7c2f12e352.tar.gz
ports-cda0fe27097558a1e33c09c8321e0f7c2f12e352.zip
benchmarks/stress-ng: Update to 0.09.59.1
Notes
Notes: svn path=/head/; revision=504783
Diffstat (limited to 'benchmarks/stress-ng')
-rw-r--r--benchmarks/stress-ng/Makefile2
-rw-r--r--benchmarks/stress-ng/distinfo6
-rw-r--r--benchmarks/stress-ng/files/patch-stress-resources.c12
3 files changed, 16 insertions, 4 deletions
diff --git a/benchmarks/stress-ng/Makefile b/benchmarks/stress-ng/Makefile
index 3307e967b5b2..60a494258e90 100644
--- a/benchmarks/stress-ng/Makefile
+++ b/benchmarks/stress-ng/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= stress-ng
-PORTVERSION= 0.09.58
+PORTVERSION= 0.09.59.1
CATEGORIES= benchmarks
MASTER_SITES= http://kernel.ubuntu.com/~cking/tarballs/stress-ng/
diff --git a/benchmarks/stress-ng/distinfo b/benchmarks/stress-ng/distinfo
index fac90c941eaf..898b7cf2752f 100644
--- a/benchmarks/stress-ng/distinfo
+++ b/benchmarks/stress-ng/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1557220170
-SHA256 (stress-ng-0.09.58.tar.xz) = ea1ba0e96637d7ecc0d2b08c981c4fcb3e7753ca7d64d76210154440b9a194e6
-SIZE (stress-ng-0.09.58.tar.xz) = 388568
+TIMESTAMP = 1561110319
+SHA256 (stress-ng-0.09.59.1.tar.xz) = b4c31434ebf964caf7f55b48dbfc9bacfee98fd79d7ece52259ca29de2346a38
+SIZE (stress-ng-0.09.59.1.tar.xz) = 392788
diff --git a/benchmarks/stress-ng/files/patch-stress-resources.c b/benchmarks/stress-ng/files/patch-stress-resources.c
new file mode 100644
index 000000000000..8f8a7dd78354
--- /dev/null
+++ b/benchmarks/stress-ng/files/patch-stress-resources.c
@@ -0,0 +1,12 @@
+--- stress-resources.c.orig 2019-06-21 10:48:56 UTC
++++ stress-resources.c
+@@ -178,7 +178,9 @@ static void NORETURN waste_resources(
+ info[i].m_mmap = MAP_FAILED;
+ info[i].pipe_ret = -1;
+ info[i].fd_open = -1;
++#if defined(HAVE_EVENTFD)
+ info[i].fd_ev = -1;
++#endif
+ #if defined(HAVE_MEMFD_CREATE)
+ info[i].fd_memfd = -1;
+ #endif