update to 0.3-113

This commit is contained in:
wangzhiqiang 2022-10-28 14:58:58 +08:00
parent 3c8776fafb
commit e12bddac70
4 changed files with 22 additions and 7 deletions

View File

@ -1,16 +1,25 @@
From 723d28d8ec87d0c89a7c360c29f79b1b5644695d Mon Sep 17 00:00:00 2001
From: wangzhiqiang <wangzhiqiang95@huawei.com>
Date: Fri, 28 Oct 2022 17:06:54 +0800
Subject: [PATCH] libaio arm64 ilp32
---
src/libaio.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libaio.h b/src/libaio.h
index 2bc24e0..f44034d 100644
index 24b4b8a..07bda2a 100644
--- a/src/libaio.h
+++ b/src/libaio.h
@@ -54,6 +54,7 @@ typedef enum io_iocb_cmd {
#if defined(__i386__) || (defined(__arm__) && !defined(__ARMEB__)) || \
@@ -55,6 +55,7 @@ typedef enum io_iocb_cmd {
defined(__sh__) || defined(__bfin__) || defined(__MIPSEL__) || \
defined(__cris__) || (defined(__riscv) && __riscv_xlen == 32) || \
defined(__cris__) || defined(__loongarch32) || \
(defined(__riscv) && __riscv_xlen == 32) || \
+ (defined(__aarch64__) && defined(__ILP32__) && defined(__AARCH64EL__)) || \
(defined(__GNUC__) && defined(__BYTE_ORDER__) && \
__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ && __SIZEOF_LONG__ == 4)
#define PADDED(x, y) x; unsigned y
@@ -85,6 +86,7 @@ typedef enum io_iocb_cmd {
@@ -87,6 +88,7 @@ typedef enum io_iocb_cmd {
(defined(__arm__) && defined(__ARMEB__)) || \
defined(__sparc__) || defined(__MIPSEB__) || defined(__m68k__) || \
defined(__hppa__) || defined(__frv__) || defined(__avr32__) || \
@ -18,3 +27,6 @@ index 2bc24e0..f44034d 100644
(defined(__GNUC__) && defined(__BYTE_ORDER__) && \
__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ && __SIZEOF_LONG__ == 4)
#define PADDED(x, y) unsigned y; x
--
2.33.0

Binary file not shown.

BIN
libaio-0.3.113.tar.gz Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
Name: libaio
Version: 0.3.112
Release: 5
Version: 0.3.113
Release: 1
Summary: Linux-native asynchronous I/O access library
License: LGPLv2+
URL: https://pagure.io/libaio
@ -74,6 +74,9 @@ make check
%attr(0755,root,root) %{_libdir}/libaio.so
%changelog
* Fri Oct 28 2022 wangzhiqiang <wangzhiqiang95@huawei.com> - 0.3.113-1
- update from 0.3.112 to 0.3.113
* Fri Jun 24 2022 lihaoxiang <lihaoxiang9@huawei.com> - 0.3.112-5
- fix compile error