diff options
-rw-r--r-- | meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch | 34 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/iozone3/iozone3_507.bb (renamed from meta-oe/recipes-benchmark/iozone3/iozone3_506.bb) | 5 |
2 files changed, 2 insertions, 37 deletions
diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch b/meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch deleted file mode 100644 index a61a56a71d..0000000000 --- a/meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 64389a67b93a53b9fb7e9e20e905a5ee4613606b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 15 Jan 2020 17:10:42 -0800 | ||
4 | Subject: [PATCH] let system headers provide pread64() | ||
5 | |||
6 | The signature does not match with system headers anyway | ||
7 | |||
8 | Fixes | ||
9 | |||
10 | 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, ^ | ||
11 | 1 error generated. | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
16 | --- | ||
17 | iozone.c | 1 - | ||
18 | 1 file changed, 1 deletion(-) | ||
19 | |||
20 | diff --git a/iozone.c b/iozone.c | ||
21 | index 090dd5f..fdea400 100644 | ||
22 | --- a/iozone.c | ||
23 | +++ b/iozone.c | ||
24 | @@ -1267,7 +1267,6 @@ int pit_gettimeofday(); | ||
25 | #ifdef HAVE_ANSIC_C | ||
26 | #if defined (HAVE_PREAD) && defined(_LARGEFILE64_SOURCE) | ||
27 | ssize_t pwrite64(); | ||
28 | -ssize_t pread64(); | ||
29 | #endif | ||
30 | #if !defined(linux) | ||
31 | char *getenv(); | ||
32 | -- | ||
33 | 2.25.0 | ||
34 | |||
diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb b/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb index 6ab1121efb..8e229499b1 100644 --- a/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb +++ b/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb | |||
@@ -3,14 +3,13 @@ HOMEPAGE = "http://www.iozone.org/" | |||
3 | SECTION = "console/tests" | 3 | SECTION = "console/tests" |
4 | LICENSE = "iozone3" | 4 | LICENSE = "iozone3" |
5 | LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b \ | 5 | LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b \ |
6 | file://iozone.c;beginline=276;endline=282;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \ | 6 | file://iozone.c;beginline=317;endline=323;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \ |
7 | " | 7 | " |
8 | SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \ | 8 | SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \ |
9 | file://parallelism.patch \ | 9 | file://parallelism.patch \ |
10 | file://0001-let-system-headers-provide-pread64.patch \ | ||
11 | file://copyright.txt \ | 10 | file://copyright.txt \ |
12 | " | 11 | " |
13 | SRC_URI[sha256sum] = "114ce5c071873b9a2c7ba6e73d05d5ef7e66564392acbfcdc0b3261db10fcbe7" | 12 | SRC_URI[sha256sum] = "1e8087ada056f5d8018ee0bc76686d416fc2251ed03038055dbd0af78d1e5ce3" |
14 | 13 | ||
15 | UPSTREAM_CHECK_REGEX = "iozone3_(?P<pver>\d+).tar" | 14 | UPSTREAM_CHECK_REGEX = "iozone3_(?P<pver>\d+).tar" |
16 | 15 | ||