From e427fa02c0fe8b3c194cd1a1eadd5c94e6c6c9c3 Mon Sep 17 00:00:00 2001 From: volcanodragon Date: Mon, 20 Jul 2020 14:33:35 +0800 Subject: [PATCH] update to 0.3.112 and fix 5 --- 0001-libaio-arm64-ilp32.patch | 10 ++++++---- 0003-libaio-fix-for-x32.patch | 9 ++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/0001-libaio-arm64-ilp32.patch b/0001-libaio-arm64-ilp32.patch index 401d053..81bf9aa 100644 --- a/0001-libaio-arm64-ilp32.patch +++ b/0001-libaio-arm64-ilp32.patch @@ -1,6 +1,8 @@ ---- libaio-0.3.111_old/src/libaio.h 2019-01-26 10:54:53.202000000 +0800 -+++ libaio-0.3.111/src/libaio.h 2019-01-26 12:51:37.150000000 +0800 -@@ -53,6 +53,7 @@ +diff --git a/src/libaio.h b/src/libaio.h +index 2bc24e0..f44034d 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__)) || \ defined(__sh__) || defined(__bfin__) || defined(__MIPSEL__) || \ defined(__cris__) || (defined(__riscv) && __riscv_xlen == 32) || \ @@ -8,7 +10,7 @@ (defined(__GNUC__) && defined(__BYTE_ORDER__) && \ __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ && __SIZEOF_LONG__ == 4) #define PADDED(x, y) x; unsigned y -@@ -84,6 +85,7 @@ +@@ -85,6 +86,7 @@ typedef enum io_iocb_cmd { (defined(__arm__) && defined(__ARMEB__)) || \ defined(__sparc__) || defined(__MIPSEB__) || defined(__m68k__) || \ defined(__hppa__) || defined(__frv__) || defined(__avr32__) || \ diff --git a/0003-libaio-fix-for-x32.patch b/0003-libaio-fix-for-x32.patch index 152fabd..0d878f3 100644 --- a/0003-libaio-fix-for-x32.patch +++ b/0003-libaio-fix-for-x32.patch @@ -1,6 +1,8 @@ ---- libaio-0.3.111_old/src/syscall-x86_64.h 2019-02-14 04:09:48.632926019 -0500 -+++ libaio-0.3.111/src/syscall-x86_64.h 2019-02-14 04:14:05.585928959 -0500 -@@ -1,5 +1,15 @@ +diff --git a/src/syscall-x86_64.h b/src/syscall-x86_64.h +index 0eccef3..fd71da9 100644 +--- a/src/syscall-x86_64.h ++++ b/src/syscall-x86_64.h +@@ -1,6 +1,16 @@ +#ifndef __NR_io_setup #define __NR_io_setup 206 +#endif @@ -16,3 +18,4 @@ +#ifndef __NR_io_cancel #define __NR_io_cancel 210 +#endif + #define __NR_io_pgetevents 333