[packages/iozone] Rel 2; fix i686
arekm
arekm at pld-linux.org
Mon Mar 9 19:23:07 CET 2026
commit a4e5d04f4f55e8ce6d0ecafcd4a75474c0693a12
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 19:22:55 2026 +0100
Rel 2; fix i686
iozone-types.patch | 17 +++++++++++++++++
iozone.spec | 4 +++-
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/iozone.spec b/iozone.spec
index 0e310ed..8e01421 100644
--- a/iozone.spec
+++ b/iozone.spec
@@ -4,11 +4,12 @@ Summary(pl.UTF-8): Program testujący wydajność I/O
Summary(pt_BR.UTF-8): O IOzone é uma ferramenta para testes de performance em sistemas de arquivos
Name: iozone
Version: 3.508
-Release: 1
+Release: 2
License: distributable
Group: Applications/System
Source0: http://www.iozone.org/src/current/%{name}%(echo %{version} | tr . _).tar
# Source0-md5: f28193c50dfb18fd31cc54749e3a8229
+Patch0: iozone-types.patch
URL: http://www.iozone.org/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,6 +53,7 @@ arquivos. Gera e mede uma variedade de operações em arquivos.
%prep
%setup -q -n %{name}%(echo %{version} | tr . _)
+%patch -P 0 -p1
gzip -d docs/Iozone_ps.gz
mv -f docs/Iozone_ps docs/IOzone.ps
diff --git a/iozone-types.patch b/iozone-types.patch
new file mode 100644
index 0000000..cf1bd47
--- /dev/null
+++ b/iozone-types.patch
@@ -0,0 +1,17 @@
+--- iozone3_508/src/current/iozone.c.orig 2026-03-09 19:21:38.809689822 +0100
++++ iozone3_508/src/current/iozone.c 2026-03-09 19:21:48.336356484 +0100
+@@ -1309,13 +1309,13 @@
+ #endif /* End of HAVE ANSI C */
+
+ #ifdef HAVE_ANSIC_C
++#if !defined(linux)
+ #if defined (HAVE_PREAD) && defined(_LARGEFILE64_SOURCE)
+ ssize_t pwrite64(int, const void *, size_t, off_t);
+ /* ssize_t pwrite64(); */
+ ssize_t pread64(int, void *, size_t, off_t);
+ /*ssize_t pread64(); */
+ #endif
+-#if !defined(linux)
+ char *getenv();
+ char *inet_ntoa();
+ int system();
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/iozone.git/commitdiff/a4e5d04f4f55e8ce6d0ecafcd4a75474c0693a12
More information about the pld-cvs-commit
mailing list