diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-23 16:22:13 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-23 16:22:13 +0800 |
commit | 6e643f80e8359f673e32b6fc714b853865fbe462 (patch) | |
tree | c41f6ebec4df7b9247c24b45cfab98b59e670f80 /benchmarks/unixbench | |
parent | 9c1cf11d7e4c77da069df31ad96202aba2ff4add (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | benchmarks/unixbench/files/patch-execl.c | 11 |
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); |