svn commit: r421728 - head/benchmarks/iorate/files

Kurt Jaeger pi at FreeBSD.org
Sat Sep 10 19:20:46 UTC 2016


Author: pi
Date: Sat Sep 10 19:20:44 2016
New Revision: 421728
URL: https://svnweb.freebsd.org/changeset/ports/421728

Log:
  benchmarks/iorate: implicit decl. of function 'gettimeofday' is invalid in C99
  
  PR:		210856
  Reported by:	Mark Millard <markmi at dsl-only.net>
  Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld at utanet.at>
  Approved by:	blttll at gmail.com (maintainer timeout)

Added:
  head/benchmarks/iorate/files/patch-ior__rand.c   (contents, props changed)
Modified:
  head/benchmarks/iorate/files/patch-ior__mach.c

Modified: head/benchmarks/iorate/files/patch-ior__mach.c
==============================================================================
--- head/benchmarks/iorate/files/patch-ior__mach.c	Sat Sep 10 19:10:08 2016	(r421727)
+++ head/benchmarks/iorate/files/patch-ior__mach.c	Sat Sep 10 19:20:44 2016	(r421728)
@@ -1,5 +1,13 @@
 --- ior_mach.c.orig	2011-11-03 15:27:58 UTC
 +++ ior_mach.c
+@@ -41,6 +41,7 @@ static char rcsid[] = "$Header: /home/we
+ #include <time.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <sys/time.h>
+ 
+ /*
+  * Solaris needs ior_mach.h to be after the above or
 @@ -411,6 +411,10 @@ int	ior_dev_lock( ior_config *cfg, long 
      };	
  

Added: head/benchmarks/iorate/files/patch-ior__rand.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/iorate/files/patch-ior__rand.c	Sat Sep 10 19:20:44 2016	(r421728)
@@ -0,0 +1,10 @@
+--- ior_rand.c.orig	2016-08-02 17:15:56 UTC
++++ ior_rand.c
+@@ -24,6 +24,7 @@ static char rcsid[] = "$Header: /home/we
+ #include <time.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <sys/time.h>
+ 
+ /*
+  * Solaris needs ior_mach.h to be after the above or


More information about the svn-ports-all mailing list