aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/unixbench
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-03-23 16:22:13 +0800
committermiwi <miwi@FreeBSD.org>2007-03-23 16:22:13 +0800
commit6e643f80e8359f673e32b6fc714b853865fbe462 (patch)
treec41f6ebec4df7b9247c24b45cfab98b59e670f80 /benchmarks/unixbench
parent9c1cf11d7e4c77da069df31ad96202aba2ff4add (diff)
downloadfreebsd-ports-graphics-6e643f80e8359f673e32b6fc714b853865fbe462.tar.gz
freebsd-ports-graphics-6e643f80e8359f673e32b6fc714b853865fbe462.tar.zst
freebsd-ports-graphics-6e643f80e8359f673e32b6fc714b853865fbe462.zip
- Fix build crash on amd64
PR: 109596 Submitted by: Ivan Voras <ivoras@gmail.com> Approved by: maintainer timeout
Diffstat (limited to 'benchmarks/unixbench')
-rw-r--r--benchmarks/unixbench/Makefile1
-rw-r--r--benchmarks/unixbench/files/patch-execl.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/benchmarks/unixbench/Makefile b/benchmarks/unixbench/Makefile
index 45899ab1ee9..ba72c0eb8d6 100644
--- a/benchmarks/unixbench/Makefile
+++ b/benchmarks/unixbench/Makefile
@@ -7,6 +7,7 @@
PORTNAME= unixbench
PORTVERSION= 4.1.0
+PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= http://www.tux.org/pub/tux/benchmarks/System/unixbench/
EXTRACT_SUFX= .tgz
diff --git a/benchmarks/unixbench/files/patch-execl.c b/benchmarks/unixbench/files/patch-execl.c
new file mode 100644
index 00000000000..affb32ff6d6
--- /dev/null
+++ b/benchmarks/unixbench/files/patch-execl.c
@@ -0,0 +1,11 @@
+--- src/execl.c.orig Wed Jul 28 23:46:58 1999
++++ src/execl.c Fri Mar 23 09:20:36 2007
+@@ -88,7 +88,7 @@
+ fprintf(stderr, "%lu loops\n", iter);
+ exit(0);
+ }
+- execl(fullpath, fullpath, "0", dur_str, count_str, start_str, 0);
++ execl(fullpath, fullpath, "0", dur_str, count_str, start_str, NULL);
+ printf("Exec failed at iteration %lu\n", iter);
+ perror("Reason");
+ exit(1);