aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2016-06-22 21:54:12 +0000
committerMikhail Teterin <mi@FreeBSD.org>2016-06-22 21:54:12 +0000
commit6d1c754742686ac38595b9daf8198065bcc5e762 (patch)
tree112c41587e00d6bdd21f043e3d92e4aa0483f2c0 /benchmarks
parente682d8cb62a2b2560e013eca06efb101481343a1 (diff)
downloadports-6d1c754742686ac38595b9daf8198065bcc5e762.tar.gz
ports-6d1c754742686ac38595b9daf8198065bcc5e762.zip
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.
Notes
Notes: svn path=/head/; revision=417337
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/iozone/files/patch-libasync.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/benchmarks/iozone/files/patch-libasync.c b/benchmarks/iozone/files/patch-libasync.c
index 2e3dda4429ae..e81ed4a93f5b 100644
--- a/benchmarks/iozone/files/patch-libasync.c
+++ b/benchmarks/iozone/files/patch-libasync.c
@@ -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 @@