Date: Wed, 22 Jun 2016 21:54:12 +0000 (UTC) From: Mikhail Teterin <mi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417337 - head/benchmarks/iozone/files Message-ID: <201606222154.u5MLsCXZ009038@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mi Date: Wed Jun 22 21:54:12 2016 New Revision: 417337 URL: https://svnweb.freebsd.org/changeset/ports/417337 Log: Fix a problem with the new patch. It is a no-op on FreeBSD, but it prevented compillation on 32-bit Linux. This is the version the author has just incorporated into his source. Modified: head/benchmarks/iozone/files/patch-libasync.c Modified: head/benchmarks/iozone/files/patch-libasync.c ============================================================================== --- head/benchmarks/iozone/files/patch-libasync.c Wed Jun 22 21:45:48 2016 (r417336) +++ head/benchmarks/iozone/files/patch-libasync.c Wed Jun 22 21:54:12 2016 (r417337) @@ -37,13 +37,13 @@ and the like) and other warnings. +# endif #endif #if defined(OSFV5) -@@ -151,13 +164,13 @@ +@@ -151,13 +164,14 @@ * this structure type. */ -char version[] = "Libasync Version $Revision: 3.25 $"; +static const char version[] = "Libasync Version $Revision: 3.25 $"; struct cache_ent { - struct aiocb myaiocb; /* For use in small file mode */ +- struct aiocb myaiocb; /* For use in small file mode */ #ifdef _LARGEFILE64_SOURCE #if defined(__CrayX1__) - aiocb64_t myaiocb64; /* For use in large file mode */ @@ -53,6 +53,8 @@ and the like) and other warnings. -#endif + struct aiocb64 myaiocb; /* For use in large file mode */ +#endif ++#else ++ struct aiocb myaiocb; #endif long long fd; /* File descriptor */ @@ -192,6 +205,6 @@
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606222154.u5MLsCXZ009038>