summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-24 02:08:07 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-24 02:08:07 +0000
commit0680ba8ffd888188c66fd00d3f7bf972e3c1497b (patch)
tree777323ef25423979076a8c387b1c3d4f6542b1fb /dev-libs
parentalso add ppc/mips support (diff)
downloadgentoo-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')
-rw-r--r--dev-libs/libaio/ChangeLog4
-rw-r--r--dev-libs/libaio/files/libaio-0.3.15-more-arches.patch11
-rw-r--r--dev-libs/libaio/libaio-0.3.15.ebuild4
3 files changed, 14 insertions, 5 deletions
diff --git a/dev-libs/libaio/ChangeLog b/dev-libs/libaio/ChangeLog
index 11fb15d7179e..43a676e3f82a 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.7 2005/08/24 02:05:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.8 2005/08/24 02:08:07 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/mips/ppc/s390/sh.
+ Add support for alpha/arm/hppa/ia64/m68k/mips/ppc/s390/sh/sparc.
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 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
diff --git a/dev-libs/libaio/libaio-0.3.15.ebuild b/dev-libs/libaio/libaio-0.3.15.ebuild
index c22ab50592a3..61feeb0c2a91 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.11 2005/08/24 02:05:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.15.ebuild,v 1.12 2005/08/24 02:08:07 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 ~mips ~ppc ~s390 ~sh ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~s390 ~sh ~sparc ~x86"
IUSE=""
DEPEND=""