diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-24 02:08:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-24 02:08:07 +0000 |
commit | 0680ba8ffd888188c66fd00d3f7bf972e3c1497b (patch) | |
tree | 777323ef25423979076a8c387b1c3d4f6542b1fb /dev-libs/libaio/files | |
parent | also add ppc/mips support (diff) | |
download | gentoo-2-0680ba8ffd888188c66fd00d3f7bf972e3c1497b.tar.gz gentoo-2-0680ba8ffd888188c66fd00d3f7bf972e3c1497b.tar.bz2 gentoo-2-0680ba8ffd888188c66fd00d3f7bf972e3c1497b.zip |
also add sparc support
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs/libaio/files')
-rw-r--r-- | dev-libs/libaio/files/libaio-0.3.15-more-arches.patch | 11 |
1 files changed, 10 insertions, 1 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 index af11601a6e09..51a454cb9616 100644 --- a/dev-libs/libaio/files/libaio-0.3.15-more-arches.patch +++ b/dev-libs/libaio/files/libaio-0.3.15-more-arches.patch @@ -8,7 +8,7 @@ #include <asm/unistd.h> #undef __syscall_return #ifndef __powerpc__ -@@ -19,25 +20,41 @@ +@@ -19,25 +20,50 @@ #ifndef __NR_io_setup #ifdef __s390__ #define __NR_io_setup 243 @@ -55,10 +55,19 @@ +#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 |