diff options
Diffstat (limited to 'dev-libs/libaio/files/libaio-0.3.15-more-arches.patch')
-rw-r--r-- | dev-libs/libaio/files/libaio-0.3.15-more-arches.patch | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/dev-libs/libaio/files/libaio-0.3.15-more-arches.patch b/dev-libs/libaio/files/libaio-0.3.15-more-arches.patch deleted file mode 100644 index 51a454cb9616..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.15-more-arches.patch +++ /dev/null @@ -1,73 +0,0 @@ ---- src/syscall.h -+++ src/syscall.h -@@ -1,6 +1,7 @@ - #ifndef AIO_SYSCALL - #define AIO_SYSCALL - -+#include <errno.h> - #include <asm/unistd.h> - #undef __syscall_return - #ifndef __powerpc__ -@@ -19,25 +20,50 @@ - #ifndef __NR_io_setup - #ifdef __s390__ - #define __NR_io_setup 243 --#define __NR_io_destroy 244 --#define __NR_io_getevents 245 --#define __NR_io_submit 246 --#define __NR_io_cancel 247 - #endif - #ifdef __i386__ - #define __NR_io_setup 245 --#define __NR_io_destroy 246 --#define __NR_io_getevents 247 --#define __NR_io_submit 248 --#define __NR_io_cancel 249 - #endif - #ifdef __x86_64__ - #define __NR_io_setup 206 --#define __NR_io_destroy 207 --#define __NR_io_getevents 208 --#define __NR_io_submit 209 --#define __NR_io_cancel 210 - #endif -+#ifdef __alpha__ -+#define __NR_io_setup 398 -+#endif -+#ifdef __hppa__ -+#define __NR_io_setup 215 -+#endif -+#ifdef __sh__ -+#define __NR_io_setup 245 -+#endif -+#ifdef __arm__ -+#define __NR_io_setup 0x900000+243 -+#endif -+#ifdef __ia64__ -+#define __NR_io_setup 1238 -+#endif -+#ifdef __m68k__ -+#define __NR_io_setup 241 -+#endif -+#ifdef __mips__ -+#define __NR_io_setup 4000+241 -+#endif -+#ifdef __powerpc__ -+#define __NR_io_setup 227 -+#endif -+#ifdef __sparc__ -+#define __NR_io_setup 268 -+#define __NR_io_destroy 269 -+#define __NR_io_submit 270 -+#define __NR_io_cancel 271 -+#define __NR_io_getevents 272 -+#else -+/* only sparc doesnt have this order */ -+#define __NR_io_destroy __NR_io_setup + 1 -+#define __NR_io_getevents __NR_io_setup + 2 -+#define __NR_io_submit __NR_io_setup + 3 -+#define __NR_io_cancel __NR_io_setup + 4 -+#endif - #endif - - #define __NR_sys_io_setup __NR_io_setup |