aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorJosh Paetzel <jpaetzel@FreeBSD.org>2020-08-24 07:49:36 +0800
committerJosh Paetzel <jpaetzel@FreeBSD.org>2020-08-24 07:49:36 +0800
commitbc79d9a6f9a144c916e7d8688eae4f9cdcf17f3b (patch)
tree48c91acd0127d30a2b825a8f9172bc040fbd817e /benchmarks
parent65f59acea1d88e0b052fb2b2972d210b992b3045 (diff)
downloadfreebsd-ports-gnome-bc79d9a6f9a144c916e7d8688eae4f9cdcf17f3b.tar.gz
freebsd-ports-gnome-bc79d9a6f9a144c916e7d8688eae4f9cdcf17f3b.tar.zst
freebsd-ports-gnome-bc79d9a6f9a144c916e7d8688eae4f9cdcf17f3b.zip
Fix build in a -fno-common world
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/iozone/Makefile1
-rw-r--r--benchmarks/iozone/files/patch-iozone.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 1d217838b3e6..e37a7dacebcc 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -3,6 +3,7 @@
PORTNAME= iozone
DISTVERSION= 3_487
+PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${DISTVERSION}
diff --git a/benchmarks/iozone/files/patch-iozone.c b/benchmarks/iozone/files/patch-iozone.c
new file mode 100644
index 000000000000..e1a9eec6cf22
--- /dev/null
+++ b/benchmarks/iozone/files/patch-iozone.c
@@ -0,0 +1,11 @@
+--- iozone.c.orig 2020-08-23 23:33:25 UTC
++++ iozone.c
+@@ -1676,7 +1676,7 @@ int client_error;
+
+ char pit_hostname[40];
+ char pit_service[8];
+-int junk;
++extern int junk;
+
+ /*
+ * Host ports used to listen, and handle errors.