iozone3: upgrade 506 -> 507

0001-let-system-headers-provide-pread64.patch
removed since it's not available in 507

License-Update:
  file location of Copyright changed.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu 2025-03-11 16:54:40 +08:00 committed by Khem Raj
parent c60b96f82f
commit fe956f2d92
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 2 additions and 37 deletions

View File

@ -1,34 +0,0 @@
From 64389a67b93a53b9fb7e9e20e905a5ee4613606b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 15 Jan 2020 17:10:42 -0800
Subject: [PATCH] let system headers provide pread64()
The signature does not match with system headers anyway
Fixes
iozone.c:1270:9: error: redeclaration of 'pread64' must have the 'overloadable' attribute ssize_t pread64(); ^ /mnt/b/yoe/build/tmp/work/core2-64-yoe-linux/iozone3/488-r0/recipe-sysroot/usr/include/bits/unistd.h:83:1: note: previous overload of function is here pread64 (int __fd, void *const __clang_pass_object_size0 __buf, ^
1 error generated.
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
iozone.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/iozone.c b/iozone.c
index 090dd5f..fdea400 100644
--- a/iozone.c
+++ b/iozone.c
@@ -1267,7 +1267,6 @@ int pit_gettimeofday();
#ifdef HAVE_ANSIC_C
#if defined (HAVE_PREAD) && defined(_LARGEFILE64_SOURCE)
ssize_t pwrite64();
-ssize_t pread64();
#endif
#if !defined(linux)
char *getenv();
--
2.25.0

View File

@ -3,14 +3,13 @@ HOMEPAGE = "http://www.iozone.org/"
SECTION = "console/tests"
LICENSE = "iozone3"
LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b \
file://iozone.c;beginline=276;endline=282;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \
file://iozone.c;beginline=317;endline=323;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \
"
SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \
file://parallelism.patch \
file://0001-let-system-headers-provide-pread64.patch \
file://copyright.txt \
"
SRC_URI[sha256sum] = "114ce5c071873b9a2c7ba6e73d05d5ef7e66564392acbfcdc0b3261db10fcbe7"
SRC_URI[sha256sum] = "1e8087ada056f5d8018ee0bc76686d416fc2251ed03038055dbd0af78d1e5ce3"
UPSTREAM_CHECK_REGEX = "iozone3_(?P<pver>\d+).tar"