Parcourir la source

upgrading package: iozone 3.109 -> 3.112

Thomas Lotterer il y a 23 ans
Parent
commit
898997e6b1
2 fichiers modifiés avec 40 ajouts et 7 suppressions
  1. 37 4
      iozone/iozone.patch
  2. 3 3
      iozone/iozone.spec

+ 37 - 4
iozone/iozone.patch

@@ -1,11 +1,44 @@
---- src/current/iozone.c.orig	Sat Jun 15 21:06:04 2002
-+++ src/current/iozone.c	Sat Jun 15 21:06:10 2002
-@@ -787,7 +787,7 @@
+--- src/current/iozone.c	Wed Jun 26 23:45:45 2002
++++ src/current/iozone.c.orig	Mon Jul  1 16:06:47 2002
+@@ -782,7 +782,7 @@
  void throughput_test();		/* Multi process throughput 	  */
  void multi_throughput_test();	/* Multi process throughput 	  */
  void prepage();			/* Pre-fault user buffer	  */
--#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5)
+-#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows)
 +#ifdef HAVE_ANSIC_C
  float do_compute(float);	/* compute cycle simulation       */
  #else
  float do_compute();		/* compute cycle simulation       */
+@@ -13030,27 +13030,27 @@
+ }
+ 
+ #ifndef ASYNC_IO
+-async_read()
++int async_read()
+ {
+ 	printf("Your system does not support async I/O\n");
+ 	exit(169);
+ }
+-async_write_no_copy()
++size_t async_write_no_copy()
+ {
+ 	printf("Your system does not support async I/O\n");
+ 	exit(170);
+ }
+-async_write()
++size_t async_write()
+ {
+ 	printf("Your system does not support async I/O\n");
+ 	exit(171);
+ }
+-async_read_no_copy()
++int async_read_no_copy()
+ {
+ 	printf("Your system does not support async I/O\n");
+ 	exit(172);
+ }
+-async_release()
++void async_release()
+ {
+ 	printf("Your system does not support async I/O\n");
+ 	exit(173);

+ 3 - 3
iozone/iozone.spec

@@ -23,8 +23,8 @@
 ##  SUCH DAMAGE.
 ##
 
-%define       V_logic  3.109
-%define       V_real   3_109
+%define       V_logic  3.112
+%define       V_real   3_112
 
 #   package information
 Name:         iozone
@@ -36,7 +36,7 @@ Distribution: OpenPKG [REL]
 Group:        Benchmark
 License:      Open Source
 Version:      %{V_logic}
-Release:      20020621
+Release:      20020701
 
 #   list of sources
 Source0:      http://www.iozone.org/src/current/iozone%{V_real}.tar