svn commit: r417337 - head/benchmarks/iozone/files
Mikhail Teterin
mi at FreeBSD.org
Wed Jun 22 21:54:13 UTC 2016
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 @@
More information about the svn-ports-all
mailing list