diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-24 02:05:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-24 02:05:02 +0000 |
commit | d90b7f596152a3cf2e38748da8f0307c07a4a107 (patch) | |
tree | 45273ac23888c0657023649b79b4b6620f27ac24 /dev-libs/libaio | |
parent | Add support for alpha/arm/hppa/ia64/m68k/s390/sh. (diff) | |
download | gentoo-2-d90b7f596152a3cf2e38748da8f0307c07a4a107.tar.gz gentoo-2-d90b7f596152a3cf2e38748da8f0307c07a4a107.tar.bz2 gentoo-2-d90b7f596152a3cf2e38748da8f0307c07a4a107.zip |
also add ppc/mips support
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs/libaio')
-rw-r--r-- | dev-libs/libaio/ChangeLog | 4 | ||||
-rw-r--r-- | dev-libs/libaio/files/libaio-0.3.15-more-arches.patch | 8 | ||||
-rw-r--r-- | dev-libs/libaio/libaio-0.3.15.ebuild | 4 |
3 files changed, 11 insertions, 5 deletions
diff --git a/dev-libs/libaio/ChangeLog b/dev-libs/libaio/ChangeLog index ff1cc9f093a2..11fb15d7179e 100644 --- a/dev-libs/libaio/ChangeLog +++ b/dev-libs/libaio/ChangeLog @@ -1,10 +1,10 @@ # ChangeLog for dev-libs/libaio # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.6 2005/08/24 02:00:29 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.7 2005/08/24 02:05:02 vapier Exp $ 24 Aug 2005; Mike Frysinger <vapier@gentoo.org> +files/libaio-0.3.15-more-arches.patch, libaio-0.3.15.ebuild: - Add support for alpha/arm/hppa/ia64/m68k/s390/sh. + Add support for alpha/arm/hppa/ia64/m68k/mips/ppc/s390/sh. 12 Jun 2004; Ian Leitch <port001@gentoo.org> libaio-0.3.15.ebuild, libaio-0.3.92.ebuild: 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 54f2b34dd088..af11601a6e09 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,35 @@ +@@ -19,25 +20,41 @@ #ifndef __NR_io_setup #ifdef __s390__ #define __NR_io_setup 243 @@ -49,6 +49,12 @@ +#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 +#define __NR_io_destroy __NR_io_setup + 1 +#define __NR_io_getevents __NR_io_setup + 2 +#define __NR_io_submit __NR_io_setup + 3 diff --git a/dev-libs/libaio/libaio-0.3.15.ebuild b/dev-libs/libaio/libaio-0.3.15.ebuild index 65e6818785b4..c22ab50592a3 100644 --- a/dev-libs/libaio/libaio-0.3.15.ebuild +++ b/dev-libs/libaio/libaio-0.3.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.15.ebuild,v 1.10 2005/08/24 02:00:29 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.15.ebuild,v 1.11 2005/08/24 02:05:02 vapier Exp $ inherit eutils @@ -11,7 +11,7 @@ SRC_URI="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/${P}-2.5-2. LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~s390 ~sh ~x86" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~s390 ~sh ~x86" IUSE="" DEPEND="" |