Fix build in a -fno-common world

This commit is contained in:
Josh Paetzel 2020-08-23 23:49:36 +00:00
parent 65f59acea1
commit bc79d9a6f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546026
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= iozone
DISTVERSION= 3_487
PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${DISTVERSION}

View File

@ -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.