mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
dev-libs/libaio: Sync with gentoo
It's from gentoo commit a9bf59f3fd6ef919eab913ef1d799c093f178081.
This commit is contained in:
parent
cfd199531c
commit
a71151733e
@ -1,359 +0,0 @@
|
||||
# ChangeLog for dev-libs/libaio
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.97 2015/05/05 20:51:57 mrueg Exp $
|
||||
|
||||
05 May 2015; Manuel Rüger <mrueg@gentoo.org> -libaio-0.3.107.ebuild,
|
||||
-libaio-0.3.109-r2.ebuild, -libaio-0.3.109-r3.ebuild,
|
||||
-libaio-0.3.109-r4.ebuild, -libaio-0.3.109-r5.ebuild:
|
||||
Remove old.
|
||||
|
||||
01 May 2015; Jeroen Roovers <jer@gentoo.org> libaio-0.3.110.ebuild:
|
||||
Stable for PPC64 (bug #525980).
|
||||
|
||||
16 Apr 2015; Yixun Lan <dlan@gentoo.org> metadata.xml:
|
||||
add Gokturk Yeksek as proxy-maintainer
|
||||
|
||||
09 Mar 2015; Mike Frysinger <vapier@gentoo.org> libaio-0.3.110.ebuild:
|
||||
Disable frame-pointer usage for arm systems when thumb is enabled.
|
||||
|
||||
02 Mar 2015; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.110.ebuild:
|
||||
Stable for ppc, wrt bug #525980
|
||||
|
||||
20 Feb 2015; Mike Frysinger <vapier@gentoo.org> libaio-0.3.110.ebuild:
|
||||
Add arm64 love.
|
||||
|
||||
16 Jan 2015; Raúl Porcel <armin76@gentoo.org> libaio-0.3.109-r4.ebuild,
|
||||
libaio-0.3.110.ebuild:
|
||||
alpha/ia64/m68k/s390/sh/sparc stable wrt #525980
|
||||
|
||||
25 Oct 2014; Markus Meier <maekke@gentoo.org> libaio-0.3.110.ebuild:
|
||||
arm stable, bug #525980
|
||||
|
||||
23 Oct 2014; Pacho Ramos <pacho@gentoo.org> libaio-0.3.110.ebuild:
|
||||
amd64/x86 stable, bug #525980
|
||||
|
||||
21 Oct 2014; Jeroen Roovers <jer@gentoo.org> libaio-0.3.110.ebuild:
|
||||
Stable for HPPA (bug #525980).
|
||||
|
||||
*libaio-0.3.110 (27 Mar 2014)
|
||||
|
||||
27 Mar 2014; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libaio-0.3.110-cppflags.patch,
|
||||
+files/libaio-0.3.110-optional-werror.patch, +libaio-0.3.110.ebuild:
|
||||
Version bump.
|
||||
|
||||
*libaio-0.3.109-r5 (27 Mar 2014)
|
||||
|
||||
27 Mar 2014; Mike Frysinger <vapier@gentoo.org> +libaio-0.3.109-r5.ebuild:
|
||||
Convert from USE=multilib to multilib-minimal eclass #435094 by Matt Turner.
|
||||
|
||||
16 Mar 2014; Mike Frysinger <vapier@gentoo.org>
|
||||
files/libaio-0.3.106-build.patch:
|
||||
Drop soname hunk that does not seem to be needed.
|
||||
|
||||
20 Mar 2013; Jeroen Roovers <jer@gentoo.org> metadata.xml:
|
||||
Remove useless <description>.
|
||||
|
||||
13 Mar 2013; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for ppc, wrt bug #460704
|
||||
|
||||
11 Mar 2013; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for sh, wrt bug #460704
|
||||
|
||||
10 Mar 2013; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for s390, wrt bug #460704
|
||||
|
||||
09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for sparc, wrt bug #460704
|
||||
|
||||
09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for x86, wrt bug #460704
|
||||
|
||||
09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for ia64, wrt bug #460704
|
||||
|
||||
09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for alpha, wrt bug #460704
|
||||
|
||||
09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for ppc64, wrt bug #460704
|
||||
|
||||
08 Mar 2013; Jeroen Roovers <jer@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for HPPA (bug #460704).
|
||||
|
||||
08 Mar 2013; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable for arm, wrt bug #460704
|
||||
|
||||
08 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> libaio-0.3.109-r4.ebuild:
|
||||
Stable on amd64, wrt bug #460704
|
||||
|
||||
*libaio-0.3.109-r4 (07 Mar 2013)
|
||||
|
||||
07 Mar 2013; Julian Ospald <hasufell@gentoo.org> +libaio-0.3.109-r4.ebuild:
|
||||
fix multilib and bump EAPI
|
||||
|
||||
29 Dec 2012; Mike Frysinger <vapier@gentoo.org> libaio-0.3.109-r3.ebuild:
|
||||
Mark stable for the rest of the arches.
|
||||
|
||||
14 Nov 2012; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r3.ebuild:
|
||||
Stable for x86, wrt bug #397571
|
||||
|
||||
14 Nov 2012; Agostino Sarubbo <ago@gentoo.org> libaio-0.3.109-r3.ebuild:
|
||||
Stable for amd64, wrt bug #397571
|
||||
|
||||
19 Sep 2012; Jeroen Roovers <jer@gentoo.org> libaio-0.3.109-r2.ebuild:
|
||||
Stable for HPPA (bug #379991).
|
||||
|
||||
02 Apr 2012; Pacho Ramos <pacho@gentoo.org> libaio-0.3.109-r3.ebuild:
|
||||
-Werror must not be used in final releases, bug #410041 by Markus Oehme.
|
||||
|
||||
30 Mar 2012; Michael Haubenwallner <haubi@gentoo.org>
|
||||
libaio-0.3.109-r3.ebuild:
|
||||
Install non-binary files even for the non-default ABI, bug#407687
|
||||
|
||||
30 Mar 2012; Michael Haubenwallner <haubi@gentoo.org>
|
||||
libaio-0.3.109-r3.ebuild:
|
||||
Drop unused manpages in src_prepare already, to not break multilib in
|
||||
src_install, bug#407687.
|
||||
|
||||
17 Mar 2012; Pacho Ramos <pacho@gentoo.org> -libaio-0.3.109-r1.ebuild,
|
||||
libaio-0.3.109-r3.ebuild:
|
||||
Don't build static libs, bug #408265 by Kevin Pyle; drop old.
|
||||
|
||||
12 Mar 2012; Michael Haubenwallner <haubi@gentoo.org>
|
||||
libaio-0.3.109-r3.ebuild:
|
||||
Fix for cross-compile support of multilib-portage, bug#407687
|
||||
|
||||
*libaio-0.3.109-r3 (09 Mar 2012)
|
||||
|
||||
09 Mar 2012; Michael Haubenwallner <haubi@gentoo.org>
|
||||
+libaio-0.3.109-r3.ebuild, +files/libaio-0.3.109-testcase-8.patch:
|
||||
Add multilib support (for oracle-instantclient-11 multilib).
|
||||
Fix tests, run those that do not break with sandbox, drop test restriction.
|
||||
|
||||
07 Dec 2011; Mike Frysinger <vapier@gentoo.org> libaio-0.3.109-r2.ebuild,
|
||||
+files/libaio-0.3.109-x32.patch:
|
||||
Add fix for x32 ABIs.
|
||||
|
||||
03 Oct 2011; Joseph Jezak <josejx@gentoo.org> libaio-0.3.109-r2.ebuild:
|
||||
Marked ppc/ppc64 stable for bug #379991.
|
||||
|
||||
03 Sep 2011; Raúl Porcel <armin76@gentoo.org> libaio-0.3.109-r2.ebuild:
|
||||
alpha/ia64/m68k/s390/sh/sparc stable wrt #379991
|
||||
|
||||
28 Aug 2011; Markus Meier <maekke@gentoo.org> libaio-0.3.109-r2.ebuild:
|
||||
arm stable, bug #379991
|
||||
|
||||
26 Aug 2011; Jeremy Olexa <darkside@gentoo.org> libaio-0.3.109-r2.ebuild:
|
||||
Fix for Gentoo Prefix, add ~amd64-linux. bug 380725
|
||||
|
||||
24 Aug 2011; Markus Meier <maekke@gentoo.org> libaio-0.3.109-r2.ebuild:
|
||||
x86 stable, bug #379991
|
||||
|
||||
22 Aug 2011; Tony Vroon <chainsaw@gentoo.org> libaio-0.3.109-r2.ebuild:
|
||||
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian
|
||||
"idella4" Delaney in bug #379991.
|
||||
|
||||
20 Aug 2011; Mike Frysinger <vapier@gentoo.org> libaio-0.3.109-r2.ebuild:
|
||||
Avoid executing git #379999 by Agostino Sarubbo.
|
||||
|
||||
*libaio-0.3.109-r2 (09 Nov 2010)
|
||||
|
||||
09 Nov 2010; Mike Frysinger <vapier@gentoo.org> +libaio-0.3.109-r2.ebuild:
|
||||
Drop lio_listio man page now provided by man-pages.
|
||||
|
||||
*libaio-0.3.109-r1 (21 Oct 2010)
|
||||
|
||||
21 Oct 2010; Mike Frysinger <vapier@gentoo.org> +libaio-0.3.109-r1.ebuild,
|
||||
+files/libaio-0.3.109-generic-arch.patch,
|
||||
files/libaio-0.3.109-install.patch,
|
||||
+files/libaio-0.3.109-unify-bits-endian.patch:
|
||||
Clean up ebuild by restoring patches and drop aio_init man page #341953 by
|
||||
Alec M.
|
||||
|
||||
*libaio-0.3.109 (25 Aug 2010)
|
||||
|
||||
25 Aug 2010; Maciej Mrozowski <reavertm@gentoo.org>
|
||||
+libaio-0.3.109.ebuild, +files/libaio-0.3.109-install.patch:
|
||||
Version bump, fix bug 325355 (install to /lib)
|
||||
|
||||
06 Apr 2010; Jonathan Callen <abcd@gentoo.org> libaio-0.3.107.ebuild:
|
||||
Bump to EAPI=3, add prefix keywords
|
||||
|
||||
12 Sep 2009; Víctor Ostorga <vostorga@gentoo.org>
|
||||
-files/libaio-0.3.15-2.5-2-Makefile.patch,
|
||||
-files/libaio-0.3.104-build.patch:
|
||||
Cleaning out unused patches
|
||||
|
||||
06 May 2009; Jeroen Roovers <jer@gentoo.org> libaio-0.3.107.ebuild:
|
||||
Stable for HPPA too.
|
||||
|
||||
18 Mar 2009; Brent Baude <ranger@gentoo.org> libaio-0.3.107.ebuild:
|
||||
stable ppc, bug 254291
|
||||
|
||||
15 Mar 2009; Brent Baude <ranger@gentoo.org> libaio-0.3.107.ebuild:
|
||||
stable ppc64, bug 254291
|
||||
|
||||
24 Feb 2009; Raúl Porcel <armin76@gentoo.org> libaio-0.3.107.ebuild:
|
||||
arm/ia64/s390/sh/sparc stable
|
||||
|
||||
09 Feb 2009; Raúl Porcel <armin76@gentoo.org> libaio-0.3.15-r1.ebuild:
|
||||
ia64/sparc stable wrt #254291
|
||||
|
||||
14 Jan 2009; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libaio-0.3.107-ar-ranlib.patch, libaio-0.3.107.ebuild:
|
||||
Respect AR/RANLIB in env.
|
||||
|
||||
11 Jan 2009; Markus Meier <maekke@gentoo.org> libaio-0.3.107.ebuild:
|
||||
x86 stable, bug #254291
|
||||
|
||||
10 Jan 2009; Tobias Klausmann <klausman@gentoo.org> libaio-0.3.107.ebuild:
|
||||
Stable on alpha, bug #254291
|
||||
|
||||
10 Jan 2009; Thomas Anderson <gentoofan23@gentoo.org>
|
||||
libaio-0.3.107.ebuild:
|
||||
stable amd64, bug 254291
|
||||
|
||||
24 Dec 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libaio-0.3.107-generic-arch.patch, libaio-0.3.107.ebuild:
|
||||
Add generic support for missing arches (arm, blackfin, sh, etc...).
|
||||
|
||||
04 Dec 2008; Brent Baude <ranger@gentoo.org> libaio-0.3.106-r2.ebuild:
|
||||
stable ppc64, bug 245909
|
||||
|
||||
14 Nov 2008; Raúl Porcel <armin76@gentoo.org> libaio-0.3.106-r2.ebuild:
|
||||
alpha/ia64 stable wrt #245909
|
||||
|
||||
08 Nov 2008; Markus Meier <maekke@gentoo.org> libaio-0.3.106-r2.ebuild:
|
||||
amd64/x86 stable, bug #245909
|
||||
|
||||
08 Nov 2008; nixnut <nixnut@gentoo.org> libaio-0.3.106-r2.ebuild:
|
||||
Stable on ppc wrt bug 245909
|
||||
|
||||
08 Nov 2008; Mike Frysinger <vapier@gentoo.org> libaio-0.3.107.ebuild:
|
||||
Fix by Olivier Huber for multilib installs #245964.
|
||||
|
||||
*libaio-0.3.107 (06 Nov 2008)
|
||||
|
||||
06 Nov 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libaio-0.3.107-install-to-slash.patch,
|
||||
+files/libaio-0.3.107-sparc.patch, +libaio-0.3.107.ebuild:
|
||||
Version bump.
|
||||
|
||||
*libaio-0.3.106-r2 (15 Sep 2008)
|
||||
|
||||
15 Sep 2008; Jeremy Olexa <darkside@gentoo.org> +libaio-0.3.106-r2.ebuild:
|
||||
(non maintainer commit) add cross compiler support, thanks to Aaron Carroll
|
||||
in bug 197720
|
||||
|
||||
06 Jan 2007; Danny van Dyk <kugelfang@gentoo.org> -libaio-0.3.15.ebuild,
|
||||
-libaio-0.3.104.ebuild, -libaio-0.3.106.ebuild:
|
||||
QA: Removed unused versions.
|
||||
|
||||
20 Dec 2006; Steve Dibb <beandog@gentoo.org> libaio-0.3.106-r1.ebuild:
|
||||
amd64 stable, bug 137915
|
||||
|
||||
20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
|
||||
libaio-0.3.106-r1.ebuild:
|
||||
Stable on Alpha.
|
||||
|
||||
12 Jul 2006; Steve Arnold <nerdboy@gentoo.org> libaio-0.3.106.ebuild:
|
||||
Backported fixes to 106 version to use updated patch, but without the
|
||||
src_test updates (use the -r1 version for test updates).
|
||||
|
||||
10 Jul 2006; Steve Arnold <nerdboy@gentoo.org>
|
||||
+files/libaio-0.3.106-build.patch, libaio-0.3.106-r1.ebuild:
|
||||
Fixed build patch, soname, and QA issues, works now on amd64. Note the
|
||||
tests still need a Makefile patch to work correctly, and I'm not sure
|
||||
about the status of the kernel support (upstream kernel patches stop about
|
||||
a year ago at 2.6.12). This is used by the ROMIO support in mpich2.
|
||||
|
||||
09 Jul 2006; Joshua Kinard <kumba@gentoo.org> libaio-0.3.15-r1.ebuild:
|
||||
Marked stable on mips.
|
||||
|
||||
26 Jun 2006; Andrej Kacian <ticho@gentoo.org> libaio-0.3.106-r1.ebuild:
|
||||
Stable on x86, bug #137915.
|
||||
|
||||
25 Jun 2006; Marcus D. Hanwell <cryos@gentoo.org> libaio-0.3.106.ebuild:
|
||||
Marked stable on amd64, bug 137915.
|
||||
|
||||
25 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org>
|
||||
libaio-0.3.106-r1.ebuild:
|
||||
ppc stable, bug #137915
|
||||
|
||||
25 Jun 2006; Markus Rothe <corsair@gentoo.org> libaio-0.3.106-r1.ebuild:
|
||||
Stable on ppc64; bug #137915
|
||||
|
||||
25 May 2006; Guy Martin <gmsoft@gentoo.org> libaio-0.3.15.ebuild,
|
||||
libaio-0.3.15-r1.ebuild:
|
||||
Not ported on hppa. Removing ~hppa keyword.
|
||||
|
||||
21 May 2006; Markus Rothe <corsair@gentoo.org> libaio-0.3.106.ebuild:
|
||||
Stable on ppc64
|
||||
|
||||
*libaio-0.3.106-r1 (17 May 2006)
|
||||
|
||||
17 May 2006; Patrick McLean <chutzpah@gentoo.org>
|
||||
+libaio-0.3.106-r1.ebuild:
|
||||
Fix for multilib-strict, revbump because this changes the approach to
|
||||
multilib support.
|
||||
|
||||
06 May 2006; Mark Loeser <halcy0n@gentoo.org> libaio-0.3.106.ebuild:
|
||||
Stable on x86
|
||||
|
||||
27 Apr 2006; Marien Zwart <marienz@gentoo.org> files/digest-libaio-0.3.15,
|
||||
files/digest-libaio-0.3.15-r1, files/digest-libaio-0.3.104,
|
||||
files/digest-libaio-0.3.106, Manifest:
|
||||
Fixing SHA256 digest, pass four
|
||||
|
||||
23 Mar 2006; Luca Barbato <lu_zero@gentoo.org> libaio-0.3.106.ebuild:
|
||||
Marked ppc
|
||||
|
||||
04 Feb 2006; Aron Griffis <agriffis@gentoo.org> libaio-0.3.106.ebuild:
|
||||
Mark 0.3.106 stable on alpha
|
||||
|
||||
03 Feb 2006; Aron Griffis <agriffis@gentoo.org> libaio-0.3.106.ebuild:
|
||||
Mark 0.3.106 stable on ia64
|
||||
|
||||
*libaio-0.3.106 (05 Jan 2006)
|
||||
|
||||
05 Jan 2006; Mike Frysinger <vapier@gentoo.org> +libaio-0.3.106.ebuild:
|
||||
Version bump.
|
||||
|
||||
*libaio-0.3.104 (11 Oct 2005)
|
||||
|
||||
11 Oct 2005; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libaio-0.3.104-build.patch, +libaio-0.3.104.ebuild:
|
||||
Version bump #108818 by Steve Yin.
|
||||
|
||||
*libaio-0.3.15-r1 (04 Oct 2005)
|
||||
|
||||
04 Oct 2005; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libaio-0.3.15-CFLAGS.patch,
|
||||
+files/libaio-0.3.15-no-exec-stack.patch, +libaio-0.3.15-r1.ebuild:
|
||||
Clean up ebuild, respect user CFLAGS, and fix executable stack markings.
|
||||
|
||||
02 Oct 2005; Aron Griffis <agriffis@gentoo.org> libaio-0.3.15.ebuild:
|
||||
Mark 0.3.15 stable on alpha
|
||||
|
||||
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/sparc.
|
||||
|
||||
12 Jun 2004; Ian Leitch <port001@gentoo.org> libaio-0.3.15.ebuild,
|
||||
libaio-0.3.92.ebuild:
|
||||
~x86 added to KEYWORDS. Description modified. #53567
|
||||
|
||||
11 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> libaio-0.3.15.ebuild:
|
||||
Applying the -fPIC patch only on necessary archs from now on.
|
||||
|
||||
*libaio-0.3.15 (30 Nov 2003)
|
||||
|
||||
30 Nov 2003; Brad House <brad_mssw@gentoo.org> libaio-0.3.15.ebuild,
|
||||
libaio-0.3.92.ebuild, files/libaio-0.3.15-2.5-2-Makefile.patch:
|
||||
use patched 0.3.15 instead of 0.3.92
|
||||
|
||||
*libaio-0.3.92 (30 Nov 2003)
|
||||
|
||||
30 Nov 2003; Brad House <brad_mssw@gentoo.org> libaio-0.3.92.ebuild:
|
||||
initial commit. needed for Oracle 9i
|
@ -1,16 +1 @@
|
||||
AUX libaio-0.3.106-build.patch 518 SHA256 d9ad69df11e8db16ef8502057849973fcfa1ffd1aef2b1d5667f09d79cb84878 SHA512 305df897c7418b9b43c5b7f970566f5660c0282692d4d2da459cfe57ee213b0a1c3d937866b6dd714df63a0d7db6e186a60b23b5f6d62a39797e06214efe9d65 WHIRLPOOL 222041777b40aa09a4ec7c9ba716754fca1b9c112ba6d7255bd289476f1ac9543178de972eb5a9816d8ba5ca46e921a3a12b6906804a4f760bf21baf7849cd8f
|
||||
AUX libaio-0.3.107-ar-ranlib.patch 398 SHA256 08f00e00cef21df01ec7327b1789083ea0d93b86b211a7164f1f1926ecde301f SHA512 f28fce187f83330a1e16ff4cc9bcfda9656220a2f73ff37b26d7e54f5035d5da079b751d701cab8500d160583c2e13043452b8d4099fc1cb5f4e534f43bef9ae WHIRLPOOL 14cf2733a4e04b33d80e07ddea6f1a4105b6396115cf63ca687675686ff7870a9ed0ff670121386055885ad3aaf8a0496e5a4be82f8bfcba9a69208edba903ba
|
||||
AUX libaio-0.3.107-generic-arch.patch 3638 SHA256 90e51ca04c7c6e4a8773efa05f91bf372a010a55b670d6353b849709905f18f8 SHA512 f3505de20f4b4746f47d2bab2b724b96851a7217304869d64d5dae1e16bce0716375cb40b10fe448f289a02d40c58930ab7f31768a6fdc0f377a1df7fb094acf WHIRLPOOL 45cd8bb60e7c8e9333430107277e5a5d4bde152a4ca1acef99b2656125405d1134fc61991ecfdbc13ce883976536a076ad18d73fb6dc3d437d45480a1e935abe
|
||||
AUX libaio-0.3.107-install-to-slash.patch 1072 SHA256 9405774a83dec8862002b185837495e96fa1c6753de18a8c0ea732cef525588c SHA512 0101f72effcefd43883a8d26217a9e8aa946b151c6010097bdbb5ba863c35f2bd67286d7fd3d525137bd0741a94b676e42aefea42c96a1507bc0579b5f5495bc WHIRLPOOL 883d0b6c59ccb4339168a8df4a14a7a2e9ca0f08dd9e9b124a2838153513850e1b39355e56f1818049c19b9bfadcbe31c31314f8389488e3240fe85cfe50a0ea
|
||||
AUX libaio-0.3.107-sparc.patch 5331 SHA256 38cc2e213054332ba888cf5e3844e762374dd63f1537fd86ceebccfd516c1c45 SHA512 aaadd1d46bf4d396c6eb89ef3889c62d3b53ef87c09972927a5dde6842d7cbf40c2518ffa3b6801a43fba594c47507cb43dd8b4a28783c310a9c357a04988ce3 WHIRLPOOL 306b01fad1455d3d089990878c136ca2976cf2637fd928a9ef99efbe2a4e16fb3c2cb1c91d02f4dbd06494d502657ad45a8791067eae4fcad677ceba696289c9
|
||||
AUX libaio-0.3.109-generic-arch.patch 2047 SHA256 f1bd745d3e6fe42f8a0ab811a4925b9bbdb827d338cf1cf1cf44583951f5abda SHA512 1a3c31e5662650db6eef01b0a903b62dcafb1d7269f5f69611c0b90774547f7253d7a2088ca027ff5e926270256128eaa8a64bb753d2fbc930fd7834721bf2c0 WHIRLPOOL ef2056cfb53badd59069eb695afe5608cb5516bba8f67fd5d1831d6e2900ff9d2e75f164d2a2c79245cb41068044c6ce94d181725468deca4742b6cb68132006
|
||||
AUX libaio-0.3.109-install.patch 1506 SHA256 6d4b429bd3f29bf3748256943ee1a7cbb4cb6d9b3af63b2a9ee0be913783e34e SHA512 67c7813c573637fb16f930a4a5eed53c04b520356caa809ec3cdfd1ea587d09a30024f41d03264a31e3ae4410b01193f87e14a40b85a93591573516905abd79e WHIRLPOOL 167abe932291311dc927d6d52499aa465c2f90785ce2f7f98c85592adc4f977f88cc13fb45bd0788c05cdc07890ddee5d1a4b07ffd6d1a656479e2e4a3ccd28a
|
||||
AUX libaio-0.3.109-testcase-8.patch 579 SHA256 c1ae004284b8ebda84d781cf9caf784de6ddbccbca534bb16f33f36451aec904 SHA512 e39ea546c9035d064f18845ffd2987254eb0205bfe220639df295498aea8a1003d83142c0a8de3d73c7178ad2ccb784e898c5586083ea2b2193d480948828a3c WHIRLPOOL 9c1bb90af32db992e5cac3bc6a4047244a82a1f31fd437bf9da8733c08a6f60b1468f1c7a74a62f6968d2ea48daf50c2be218987b46f0c74d2ce5b1c19ab2fb4
|
||||
AUX libaio-0.3.109-unify-bits-endian.patch 2610 SHA256 53c10fda429b47fc2fbbbf3751285a39523b8f8bdae9366294569055bd088f92 SHA512 b0b09d18d627e12f1ded80d1eb79a70dbffc3e24b628d01a1508f809e6a63c5050f33b7043d0700ed35ec553fb5fa9698c2024aa2755457f673da6f708ab663c WHIRLPOOL 80c607f14286def30d8832365b57094213960689a61a5fb91354a4ba12e13f0a7e491085fa0a95a9b2203d0a5fc12c28367d562c4e49f83433029b36372398c1
|
||||
AUX libaio-0.3.109-x32.patch 2122 SHA256 23a4c40e8add0125ebb9f50919ff27f55de0e2605ca7800bc875e0e81a936974 SHA512 0de645aa290919de0c82c26a0ecbed1d27dc3fdeeb909a86f36ee875afae2803ce97e0088c75e47a1de1cef99527659da75b9e17e5c310a1a518eb02a948a0b2 WHIRLPOOL 24a29a324ed62755d118c8eaea0e3edc9e38c28a9a9ede8456af9219734a6914b8ba589e4ad479dce24695e3d67e0c270840589148875a88acce611466d65b16
|
||||
AUX libaio-0.3.110-cppflags.patch 629 SHA256 76ce5e1b2c23200cff613ab1098c804707bd361d85ea8d18872c5ed891ef02c1 SHA512 b39fabcb37e75ab9300d78476a7468359efa883a49822db28d11d305d557f835ac9245b9c8c3e0a8ff6c7fd70125c841056f1e22175025d16a99ce94f849f80c WHIRLPOOL baa180d184fbd72766d2f85e083bf56cc3ccbcfd93b0281ebefac20e49ce3915fa6765d907ec7ccef21664393c95b9ce7244bb72f3607d521130a92f0e2f0e7d
|
||||
AUX libaio-0.3.110-optional-werror.patch 832 SHA256 4854607a4569a86c514d3bfa7470e21b06ca82edff174cefc18f3e923dfc9d9c SHA512 14b73acded7f67d01e199c411f2ea090b1d0d666521233d3829ca76572d6962f5dc3560096dc10e13c342eed046fb47a6e370e57fceab457696fad6c888a5067 WHIRLPOOL c0f02e9c28e113ce5daced925c48e0461ee650c06e8103f594931118b34ecfb01e892ef6d829b73058a30f8ba67e5f470b84304fbfe1467f3e7d7b47bc8127cd
|
||||
DIST libaio-0.3.110.tar.gz 42270 SHA256 e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e SHA512 664295d330d6e9adc005e2331e77582619625b479ffc2b81728ba6a682487380ee936079c4a69d35144b458bbe35c612f4ed9b32e913bd7e109b824345763eb3 WHIRLPOOL 21666b6d14e8091a52941b54b1c6d882dd495ed2d5ca9047a7951ee44e90aa33348ade0d3e4e7f12076a264b64b354a06cd96433cb39e18fc87b3655b59767af
|
||||
EBUILD libaio-0.3.110.ebuild 2307 SHA256 e98cd2624bdccd2832b58a74cb86c3a78e734c947a872298c62c1502a78ace07 SHA512 acaffca38cd74696cbd319215acc6bc355afe29c41af16439f129d33f78a416a35c7190d90ea5cb5a11bd7143e508d5886c7b26281e6267610afce2ef13b72ab WHIRLPOOL 9def90589057702f0482827e6e592d8566daec33561ffcea2d5eb7e14139b724981c4641af8f154314466ace73e68ba23b0d8a8a0ebd9c635190b9d47f3ee7a1
|
||||
MISC ChangeLog 13084 SHA256 06b80495c4e8e9d2b9b3c23a2800bc2d3996e90fdf67498b2561ddc381a4d333 SHA512 2910bfaff866ac8c06002070e5299fe507e64d37dc3c4d26dffd78593944d5b91497ae35d2ed67b7794763ed6a6d46677f89a0a2c5ad02365bf860f0369fec87 WHIRLPOOL c2994f44d723449f5e8769190d277089a0905620e0befe7dbcaefb6f9ae5a3035c5376ce3fe26be8bf8896ad0033bd39bb46dda304e109719f39196faac23d1a
|
||||
MISC metadata.xml 478 SHA256 578d7f545669a307ae4acbbf59c44f9d4809a9bf1e2d77119b141e3833ac1047 SHA512 13b3ff24458a2fd59bf136759b821f65de8f9527673e0e5479e71d5bf7ae6644cd75686d92296fc1656e32fd2c7e3cdbd09aec44e6b3a292bba7b82e25bcf466 WHIRLPOOL da66d122781ef716a014c2fecec33d14b50ea696f8728e80e0476414908960c8d1b984826ce321d0dad574fd987c66771e0434c8458fa3e9278b3b9559b6e9de
|
||||
DIST libaio-0.3.112.tar.gz 46977 BLAKE2B 088f3b195a65bdc97ae2318e47af17c65259ed3208dca7bfef93c81a800602085e5b2078dbd436c740be316d0ebd923a1b3b7c0808257e2e7c7fb0f7ae1e0dba SHA512 5f984529c9f747a6c82f1e4457fc0832bb1fc299ae6e700f2ac5a8ea7b9bfc6ea1e75809728cc115a020cff6685ed1f4e38c6aeacc1ea98dfccce04dd19dafaa
|
||||
|
@ -1,17 +0,0 @@
|
||||
--- src/Makefile.orig 2006-07-09 19:46:41.000000000 -0700
|
||||
+++ src/Makefile 2006-07-09 19:51:00.000000000 -0700
|
||||
@@ -2,11 +2,10 @@
|
||||
includedir=$(prefix)/include
|
||||
libdir=$(prefix)/lib
|
||||
|
||||
-ARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||
-CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
|
||||
-SO_CFLAGS=-shared $(CFLAGS)
|
||||
+CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC
|
||||
+SO_CFLAGS=-shared $(CFLAGS)
|
||||
L_CFLAGS=$(CFLAGS)
|
||||
-LINK_FLAGS=
|
||||
+LINK_FLAGS=-lgcc -lrt $(LDFLAGS)
|
||||
|
||||
soname=libaio.so.1
|
||||
minor=0
|
@ -1,17 +0,0 @@
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -42,10 +42,12 @@
|
||||
$(CC) $(L_CFLAGS) -c -o $@ $<
|
||||
|
||||
|
||||
+AR ?= ar
|
||||
+RANLIB ?= ranlib
|
||||
libaio.a: $(libaio_objs)
|
||||
rm -f libaio.a
|
||||
- ar r libaio.a $^
|
||||
- ranlib libaio.a
|
||||
+ $(AR) r libaio.a $^
|
||||
+ $(RANLIB) libaio.a
|
||||
|
||||
$(libname): $(libaio_sobjs) libaio.map
|
||||
$(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname,$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)
|
@ -1,101 +0,0 @@
|
||||
for arches that lack magic assembly (arm, blackfin, etc...), implement support
|
||||
using standard syscall() function
|
||||
|
||||
--- src/libaio.h
|
||||
+++ src/libaio.h
|
||||
@@ -49,38 +49,34 @@ typedef enum io_iocb_cmd {
|
||||
IO_CMD_PWRITEV = 8,
|
||||
} io_iocb_cmd_t;
|
||||
|
||||
-#if defined(__i386__) /* little endian, 32 bits */
|
||||
+/* little endian, 32 bits */
|
||||
+#if defined(__i386__) || defined(__sh__) || defined(__bfin__) || \
|
||||
+ defined(__ARMEL__) || defined(__MIPSEL__) || defined(__cris__)
|
||||
#define PADDED(x, y) x; unsigned y
|
||||
#define PADDEDptr(x, y) x; unsigned y
|
||||
#define PADDEDul(x, y) unsigned long x; unsigned y
|
||||
+
|
||||
+/* little endian, 64 bits */
|
||||
#elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__)
|
||||
#define PADDED(x, y) x, y
|
||||
#define PADDEDptr(x, y) x
|
||||
#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__powerpc64__) /* big endian, 64 bits */
|
||||
+
|
||||
+/* big endian, 64 bits */
|
||||
+#elif defined(__powerpc64__) || defined(__s390x__) || \
|
||||
+ (defined(__sparc__) && defined(__arch64__))
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x,y) x
|
||||
#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__PPC__) /* big endian, 32 bits */
|
||||
+
|
||||
+/* big endian, 32 bits */
|
||||
+#elif defined(__PPC__) || defined(__s390__) || defined(__ARMEB__) || \
|
||||
+ defined(__MIPSEB__) || defined(__sparc__) || defined(__m68k__) || \
|
||||
+ defined(__hppa__) || defined(__frv__) || defined(__avr32__)
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x, y) unsigned y; x
|
||||
#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-#elif defined(__s390x__) /* big endian, 64 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x,y) x
|
||||
-#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__s390__) /* big endian, 32 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x, y) unsigned y; x
|
||||
-#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-#elif defined(__sparc__) && defined(__arch64__) /* big endian, 64 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x,y) x
|
||||
-#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__sparc__) /* big endian, 32 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x, y) unsigned y; x
|
||||
-#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
+
|
||||
#else
|
||||
#error endian?
|
||||
#endif
|
||||
--- /dev/null
|
||||
+++ src/syscall-generic.h
|
||||
@@ -0,0 +1,29 @@
|
||||
+#include <errno.h>
|
||||
+#include <unistd.h>
|
||||
+#include <sys/syscall.h>
|
||||
+
|
||||
+#define _body_io_syscall(sname, args...) \
|
||||
+{ \
|
||||
+ int ret = syscall(__NR_##sname, ## args); \
|
||||
+ return ret < 0 ? -errno : ret; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall1(type,fname,sname,type1,arg1) \
|
||||
+type fname(type1 arg1) \
|
||||
+_body_io_syscall(sname, (long)arg1)
|
||||
+
|
||||
+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \
|
||||
+type fname(type1 arg1,type2 arg2) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2)
|
||||
+
|
||||
+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \
|
||||
+type fname(type1 arg1,type2 arg2,type3 arg3) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3)
|
||||
+
|
||||
+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
|
||||
+type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4)
|
||||
+
|
||||
+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, type5,arg5) \
|
||||
+type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4, (long)arg5)
|
||||
--- src/syscall.h
|
||||
+++ src/syscall.h
|
||||
@@ -25,5 +25,6 @@
|
||||
#elif defined(__sparc__)
|
||||
#include "syscall-sparc.h"
|
||||
#else
|
||||
-#error "add syscall-arch.h"
|
||||
+#warning "using generic syscall method"
|
||||
+#include "syscall-generic.h"
|
||||
#endif
|
@ -1,31 +0,0 @@
|
||||
based on fedora ptach
|
||||
|
||||
--- libaio-0.3.107/src/Makefile
|
||||
+++ libaio-0.3.107/src/Makefile
|
||||
@@ -1,6 +1,7 @@
|
||||
prefix=/usr
|
||||
-includedir=$(prefix)/include
|
||||
-libdir=$(prefix)/lib
|
||||
+includedir=/usr/include
|
||||
+libdir=/usr/lib
|
||||
+usrlibdir=$(libdir)
|
||||
|
||||
ARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||
CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
|
||||
@@ -51,11 +52,11 @@
|
||||
$(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)
|
||||
|
||||
install: $(all_targets)
|
||||
- install -D -m 644 libaio.h $(includedir)/libaio.h
|
||||
- install -D -m 644 libaio.a $(libdir)/libaio.a
|
||||
- install -D -m 755 $(libname) $(libdir)/$(libname)
|
||||
- ln -sf $(libname) $(libdir)/$(soname)
|
||||
- ln -sf $(libname) $(libdir)/libaio.so
|
||||
+ install -D -m 644 libaio.h $(DESTDIR)$(includedir)/libaio.h
|
||||
+ install -D -m 644 libaio.a $(DESTDIR)$(usrlibdir)/libaio.a
|
||||
+ install -D -m 755 $(libname) $(DESTDIR)$(libdir)/$(libname)
|
||||
+ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/$(soname)
|
||||
+ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/libaio.so
|
||||
|
||||
$(libaio_objs): libaio.h
|
||||
|
@ -1,151 +0,0 @@
|
||||
ripped from fedora
|
||||
|
||||
--- libaio-0.3.107/src/libaio.h
|
||||
+++ libaio-0.3.107/src/libaio.h
|
||||
@@ -73,6 +73,14 @@
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x, y) unsigned y; x
|
||||
#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
+#elif defined(__sparc__) && defined(__arch64__) /* big endian, 64 bits */
|
||||
+#define PADDED(x, y) unsigned y; x
|
||||
+#define PADDEDptr(x,y) x
|
||||
+#define PADDEDul(x, y) unsigned long x
|
||||
+#elif defined(__sparc__) /* big endian, 32 bits */
|
||||
+#define PADDED(x, y) unsigned y; x
|
||||
+#define PADDEDptr(x, y) unsigned y; x
|
||||
+#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
#else
|
||||
#error endian?
|
||||
#endif
|
||||
--- libaio-0.3.107/src/syscall.h
|
||||
+++ libaio-0.3.107/src/syscall.h
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "syscall-s390.h"
|
||||
#elif defined(__alpha__)
|
||||
#include "syscall-alpha.h"
|
||||
+#elif defined(__sparc__)
|
||||
+#include "syscall-sparc.h"
|
||||
#else
|
||||
#error "add syscall-arch.h"
|
||||
#endif
|
||||
--- libaio-0.3.107/src/syscall-sparc.h
|
||||
+++ libaio-0.3.107/src/syscall-sparc.h
|
||||
@@ -0,0 +1,118 @@
|
||||
+#include <errno.h>
|
||||
+
|
||||
+#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
|
||||
+
|
||||
+#define io_syscall1(type,fname,sname,type1,arg1) \
|
||||
+type fname(type1 arg1) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res >= 0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \
|
||||
+type fname(type1 arg1,type2 arg2) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+register long __o1 __asm__ ("o1") = (long)(arg2); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__o1), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res >= 0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \
|
||||
+type fname(type1 arg1,type2 arg2,type3 arg3) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+register long __o1 __asm__ ("o1") = (long)(arg2); \
|
||||
+register long __o2 __asm__ ("o2") = (long)(arg3); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res>=0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
|
||||
+type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+register long __o1 __asm__ ("o1") = (long)(arg2); \
|
||||
+register long __o2 __asm__ ("o2") = (long)(arg3); \
|
||||
+register long __o3 __asm__ ("o3") = (long)(arg4); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res>=0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
|
||||
+ type5,arg5) \
|
||||
+type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+register long __o1 __asm__ ("o1") = (long)(arg2); \
|
||||
+register long __o2 __asm__ ("o2") = (long)(arg3); \
|
||||
+register long __o3 __asm__ ("o3") = (long)(arg4); \
|
||||
+register long __o4 __asm__ ("o4") = (long)(arg5); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__o4), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res>=0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
@ -1,62 +0,0 @@
|
||||
From 5e96c73d5dfbdea8d0be82b7f3fc8d6735e5dfa7 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 17 Jan 2010 17:07:48 -0500
|
||||
Subject: [PATCH] add a generic syscall() fallback
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
src/syscall-generic.h | 29 +++++++++++++++++++++++++++++
|
||||
src/syscall.h | 3 ++-
|
||||
2 files changed, 31 insertions(+), 1 deletions(-)
|
||||
create mode 100644 src/syscall-generic.h
|
||||
|
||||
diff --git a/src/syscall-generic.h b/src/syscall-generic.h
|
||||
new file mode 100644
|
||||
index 0000000..24d7c7c
|
||||
--- /dev/null
|
||||
+++ b/src/syscall-generic.h
|
||||
@@ -0,0 +1,29 @@
|
||||
+#include <errno.h>
|
||||
+#include <unistd.h>
|
||||
+#include <sys/syscall.h>
|
||||
+
|
||||
+#define _body_io_syscall(sname, args...) \
|
||||
+{ \
|
||||
+ int ret = syscall(__NR_##sname, ## args); \
|
||||
+ return ret < 0 ? -errno : ret; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall1(type,fname,sname,type1,arg1) \
|
||||
+type fname(type1 arg1) \
|
||||
+_body_io_syscall(sname, (long)arg1)
|
||||
+
|
||||
+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \
|
||||
+type fname(type1 arg1,type2 arg2) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2)
|
||||
+
|
||||
+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \
|
||||
+type fname(type1 arg1,type2 arg2,type3 arg3) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3)
|
||||
+
|
||||
+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
|
||||
+type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4)
|
||||
+
|
||||
+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, type5,arg5) \
|
||||
+type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4, (long)arg5)
|
||||
diff --git a/src/syscall.h b/src/syscall.h
|
||||
index 78becfe..d954af0 100644
|
||||
--- a/src/syscall.h
|
||||
+++ b/src/syscall.h
|
||||
@@ -25,5 +25,6 @@
|
||||
#elif defined(__arm__)
|
||||
#include "syscall-arm.h"
|
||||
#else
|
||||
-#error "add syscall-arch.h"
|
||||
+#warning "using generic syscall method"
|
||||
+#include "syscall-generic.h"
|
||||
#endif
|
||||
--
|
||||
1.7.3.1
|
||||
|
@ -1,45 +0,0 @@
|
||||
From 2e34caef82a2367a85de4f06daf5e5a92f61e845 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 17 Jan 2010 17:10:14 -0500
|
||||
Subject: [PATCH] fix up install paths
|
||||
|
||||
This is similar to the Fedora patch, but this uses more common conventions
|
||||
like "DESTDIR" instead of "destdir".
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
src/Makefile | 11 ++++++-----
|
||||
1 files changed, 6 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 687c7be..ee431a1 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -1,6 +1,7 @@
|
||||
prefix=/usr
|
||||
includedir=$(prefix)/include
|
||||
libdir=$(prefix)/lib
|
||||
+usrlibdir=$(libdir)
|
||||
|
||||
CFLAGS ?= -g -fomit-frame-pointer -O2
|
||||
CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC
|
||||
@@ -53,11 +54,11 @@ $(libname): $(libaio_sobjs) libaio.map
|
||||
$(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname,$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)
|
||||
|
||||
install: $(all_targets)
|
||||
- install -D -m 644 libaio.h $(includedir)/libaio.h
|
||||
- install -D -m 644 libaio.a $(libdir)/libaio.a
|
||||
- install -D -m 755 $(libname) $(libdir)/$(libname)
|
||||
- ln -sf $(libname) $(libdir)/$(soname)
|
||||
- ln -sf $(libname) $(libdir)/libaio.so
|
||||
+ install -D -m 644 libaio.h $(DESTDIR)$(includedir)/libaio.h
|
||||
+ install -D -m 644 libaio.a $(DESTDIR)$(usrlibdir)/libaio.a
|
||||
+ install -D -m 755 $(libname) $(DESTDIR)$(libdir)/$(libname)
|
||||
+ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/$(soname)
|
||||
+ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/libaio.so
|
||||
|
||||
$(libaio_objs): libaio.h
|
||||
|
||||
--
|
||||
1.7.3.1
|
||||
|
@ -1,19 +0,0 @@
|
||||
Do not ignore return value of ftruncate(): testcases are compiled with -Werror,
|
||||
and ftruncate is declared with attribute warn_unused_result.
|
||||
--- harness/cases/8.t.orig 2012-03-09 16:40:04.074168070 +0100
|
||||
+++ harness/cases/8.t 2012-03-09 16:40:57.777278646 +0100
|
||||
@@ -9,12 +9,13 @@
|
||||
{
|
||||
long long min = 0, max = 9223372036854775807LL;
|
||||
char c = 0;
|
||||
+ int ret;
|
||||
|
||||
while (max - min > 1) {
|
||||
if (pwrite64(fd, &c, 1, (min + max) / 2) == -1)
|
||||
max = (min + max) / 2;
|
||||
else {
|
||||
- ftruncate(fd, 0);
|
||||
+ ret = ftruncate(fd, 0); assert(ret == 0);
|
||||
min = (min + max) / 2;
|
||||
}
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
From be673c7afd7a86b89fbe2e09c758f2de3482d19b Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 17 Jan 2010 17:07:24 -0500
|
||||
Subject: [PATCH] unify LE/BE 32/64bit logic and add more arches
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
src/libaio.h | 36 +++++++++++++++---------------------
|
||||
1 files changed, 15 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/src/libaio.h b/src/libaio.h
|
||||
index ffe8259..4a6c9fb 100644
|
||||
--- a/src/libaio.h
|
||||
+++ b/src/libaio.h
|
||||
@@ -49,40 +49,34 @@ typedef enum io_iocb_cmd {
|
||||
IO_CMD_PWRITEV = 8,
|
||||
} io_iocb_cmd_t;
|
||||
|
||||
-#if defined(__i386__) /* little endian, 32 bits */
|
||||
+/* little endian, 32 bits */
|
||||
+#if defined(__i386__) || defined(__sh__) || defined(__bfin__) || \
|
||||
+ defined(__ARMEL__) || defined(__MIPSEL__) || defined(__cris__)
|
||||
#define PADDED(x, y) x; unsigned y
|
||||
#define PADDEDptr(x, y) x; unsigned y
|
||||
#define PADDEDul(x, y) unsigned long x; unsigned y
|
||||
+
|
||||
+/* little endian, 64 bits */
|
||||
#elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__)
|
||||
#define PADDED(x, y) x, y
|
||||
#define PADDEDptr(x, y) x
|
||||
#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__powerpc64__) /* big endian, 64 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x,y) x
|
||||
-#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__PPC__) /* big endian, 32 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x, y) unsigned y; x
|
||||
-#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-#elif defined(__s390x__) /* big endian, 64 bits */
|
||||
+
|
||||
+/* big endian, 64 bits */
|
||||
+#elif defined(__powerpc64__) || defined(__s390x__) || \
|
||||
+ (defined(__sparc__) && defined(__arch64__))
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x,y) x
|
||||
#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__s390__) /* big endian, 32 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x, y) unsigned y; x
|
||||
-#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-#elif defined(__arm__)
|
||||
-# if defined (__ARMEB__) /* big endian, 32 bits */
|
||||
+
|
||||
+/* big endian, 32 bits */
|
||||
+#elif defined(__PPC__) || defined(__s390__) || defined(__ARMEB__) || \
|
||||
+ defined(__MIPSEB__) || defined(__sparc__) || defined(__m68k__) || \
|
||||
+ defined(__hppa__) || defined(__frv__) || defined(__avr32__)
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x, y) unsigned y; x
|
||||
#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-# else /* little endian, 32 bits */
|
||||
-#define PADDED(x, y) x; unsigned y
|
||||
-#define PADDEDptr(x, y) x; unsigned y
|
||||
-#define PADDEDul(x, y) unsigned long x; unsigned y
|
||||
-# endif
|
||||
+
|
||||
#else
|
||||
#error endian?
|
||||
#endif
|
||||
--
|
||||
1.7.3.1
|
||||
|
@ -1,63 +0,0 @@
|
||||
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f5c071d93c9e6f57930bce56b1e4f009c160a826
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Properly load arguments 5 an 6 for x86-64 syscall
|
||||
Use asm ("r10") and asm ("r8") to load arguments 5 an 6 for x86-64
|
||||
syscall so that it works with both x32 and x86-64.
|
||||
|
||||
Received this patch from H.J. Lu <hjl.tools@gmail.com>
|
||||
|
||||
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
|
||||
2011/12/02
|
||||
|
||||
--- libaio-0.3.109/src/syscall-x86_64.h.x32 2009-10-09 11:17:02.000000000 -0700
|
||||
+++ libaio-0.3.109/src/syscall-x86_64.h 2011-12-02 09:09:07.537603224 -0800
|
||||
@@ -1,8 +1,18 @@
|
||||
+#ifndef __NR_io_setup
|
||||
#define __NR_io_setup 206
|
||||
+#endif
|
||||
+#ifndef __NR_io_destroy
|
||||
#define __NR_io_destroy 207
|
||||
+#endif
|
||||
+#ifndef __NR_io_getevents
|
||||
#define __NR_io_getevents 208
|
||||
+#endif
|
||||
+#ifndef __NR_io_submit
|
||||
#define __NR_io_submit 209
|
||||
+#endif
|
||||
+#ifndef __NR_io_cancel
|
||||
#define __NR_io_cancel 210
|
||||
+#endif
|
||||
|
||||
#define __syscall_clobber "r11","rcx","memory"
|
||||
#define __syscall "syscall"
|
||||
@@ -42,10 +52,11 @@ return __res; \
|
||||
type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
|
||||
{ \
|
||||
long __res; \
|
||||
-__asm__ volatile ("movq %5,%%r10 ;" __syscall \
|
||||
+register long __a4 asm ("r10") = (long) arg4; \
|
||||
+__asm__ volatile (__syscall \
|
||||
: "=a" (__res) \
|
||||
: "0" (__NR_##sname),"D" ((long)(arg1)),"S" ((long)(arg2)), \
|
||||
- "d" ((long)(arg3)),"g" ((long)(arg4)) : __syscall_clobber,"r10" ); \
|
||||
+ "d" ((long)(arg3)),"r" (__a4)); \
|
||||
return __res; \
|
||||
}
|
||||
|
||||
@@ -54,10 +65,11 @@ return __res; \
|
||||
type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
|
||||
{ \
|
||||
long __res; \
|
||||
-__asm__ volatile ("movq %5,%%r10 ; movq %6,%%r8 ; " __syscall \
|
||||
+register long __a4 asm ("r10") = (long) arg4; \
|
||||
+register long __a5 asm ("r8") = (long) arg5; \
|
||||
+__asm__ volatile ( __syscall \
|
||||
: "=a" (__res) \
|
||||
: "0" (__NR_##sname),"D" ((long)(arg1)),"S" ((long)(arg2)), \
|
||||
- "d" ((long)(arg3)),"g" ((long)(arg4)),"g" ((long)(arg5)) : \
|
||||
- __syscall_clobber,"r8","r10" ); \
|
||||
+ "d" ((long)(arg3)),"r" (__a4),"r" (__a5)); \
|
||||
return __res; \
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
From 3bf96bb62370035dba18d4b25459406b32365cfc Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Wed, 26 Mar 2014 23:10:18 -0400
|
||||
Subject: [PATCH] respect env CPPFLAGS
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
src/Makefile | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 49f448f..b918c8b 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -5,6 +5,7 @@ usrlibdir=$(libdir)
|
||||
|
||||
CFLAGS ?= -g -fomit-frame-pointer -O2
|
||||
CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC
|
||||
+CFLAGS += $(CPPFLAGS)
|
||||
SO_CFLAGS=-shared $(CFLAGS)
|
||||
L_CFLAGS=$(CFLAGS)
|
||||
LINK_FLAGS=
|
||||
--
|
||||
1.9.1
|
||||
|
@ -1,6 +1,6 @@
|
||||
From 0cc7dc108d0b2288b40d82bb2fd1fd8bdc08f764 Mon Sep 17 00:00:00 2001
|
||||
From ebe62b178f3e5fcde8a311e64aaffe62099204a5 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Wed, 26 Mar 2014 23:07:58 -0400
|
||||
Date: Sun, 21 Apr 2019 12:44:26 +0200
|
||||
Subject: [PATCH] make -Werror into an optional flag
|
||||
|
||||
This lets distros disable the flag as random errors might come up with
|
||||
@ -12,19 +12,19 @@ Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/harness/Makefile b/harness/Makefile
|
||||
index 2a88e71..cf8c90d 100644
|
||||
index f477737..a155c4b 100644
|
||||
--- a/harness/Makefile
|
||||
+++ b/harness/Makefile
|
||||
@@ -6,7 +6,8 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS)
|
||||
HARNESS_SRCS:=main.c
|
||||
# io_queue.c
|
||||
|
||||
-CFLAGS+=-Wall -Werror -I../src -g -O
|
||||
-CFLAGS+=-Wall -Werror -I../src -g -O2 -DPAGE_SIZE=$(shell getconf PAGESIZE)
|
||||
+CFLAGS_WERROR?=-Werror
|
||||
+CFLAGS+=-Wall $(CFLAGS_WERROR) -I../src -g -O
|
||||
+CFLAGS+=-Wall $(CFLAGS_WERROR) -I../src -g -O2 -DPAGE_SIZE=$(shell getconf PAGESIZE)
|
||||
#-lpthread -lrt
|
||||
|
||||
all: $(PROGS)
|
||||
--
|
||||
1.9.1
|
||||
2.21.0
|
||||
|
16
sdk_container/src/third_party/portage-stable/dev-libs/libaio/files/libaio-0.3.112-cppflags.patch
vendored
Normal file
16
sdk_container/src/third_party/portage-stable/dev-libs/libaio/files/libaio-0.3.112-cppflags.patch
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
respect env CPPFLAGS
|
||||
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -2,8 +2,9 @@ prefix=/usr
|
||||
includedir=$(prefix)/include
|
||||
libdir=$(prefix)/lib
|
||||
|
||||
-CFLAGS ?= -g -fomit-frame-pointer -O2
|
||||
-CFLAGS += -Wall -I. -fPIC
|
||||
+CFLAGS ?= -fomit-frame-pointer -O2
|
||||
+CFLAGS += -I. -fPIC
|
||||
+CFLAGS += $(CPPFLAGS)
|
||||
SO_CFLAGS=-shared $(CFLAGS)
|
||||
L_CFLAGS=$(CFLAGS)
|
||||
LINK_FLAGS=
|
@ -0,0 +1,13 @@
|
||||
We need to place LDFLAGS earlier to ensure e.g. as-needed works correctly.
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -56,7 +56,7 @@ libaio.a: $(libaio_objs)
|
||||
$(RANLIB) libaio.a
|
||||
|
||||
$(libname): $(libaio_sobjs) libaio.map
|
||||
- $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)
|
||||
+ $(CC) $(SO_CFLAGS) $(LINK_FLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs)
|
||||
|
||||
install: $(all_targets)
|
||||
install -D -m 644 libaio.h $(includedir)/libaio.h
|
||||
|
@ -1,27 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.110.ebuild,v 1.9 2015/05/01 19:01:01 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
EAPI="7"
|
||||
|
||||
inherit eutils multilib-minimal toolchain-funcs flag-o-matic
|
||||
inherit multilib-minimal toolchain-funcs flag-o-matic usr-ldscript
|
||||
|
||||
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
|
||||
HOMEPAGE="https://git.fedorahosted.org/cgit/libaio.git/ http://lse.sourceforge.net/io/aio.html"
|
||||
SRC_URI="https://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
HOMEPAGE="https://pagure.io/libaio"
|
||||
if [[ "${PV}" == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://pagure.io/libaio.git"
|
||||
else
|
||||
SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3.112-cppflags.patch
|
||||
"${FILESDIR}"/${PN}-0.3.111-optional-werror.patch
|
||||
"${FILESDIR}"/${PN}-0.3.112-respect-LDFLAGS.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-install.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-x32.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-testcase-8.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.110-cppflags.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.110-optional-werror.patch
|
||||
default
|
||||
|
||||
local sed_args=(
|
||||
-e "/^prefix=/s:/usr:${EPREFIX}/usr:"
|
87
sdk_container/src/third_party/portage-stable/dev-libs/libaio/libaio-9999.ebuild
vendored
Normal file
87
sdk_container/src/third_party/portage-stable/dev-libs/libaio/libaio-9999.ebuild
vendored
Normal file
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit multilib-minimal toolchain-funcs flag-o-matic usr-ldscript
|
||||
|
||||
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
|
||||
HOMEPAGE="https://pagure.io/libaio"
|
||||
if [[ "${PV}" == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://pagure.io/libaio.git"
|
||||
else
|
||||
SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3.112-cppflags.patch
|
||||
"${FILESDIR}"/${PN}-0.3.111-optional-werror.patch
|
||||
"${FILESDIR}"/${PN}-0.3.112-respect-LDFLAGS.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local sed_args=(
|
||||
-e "/^prefix=/s:/usr:${EPREFIX}/usr:"
|
||||
-e '/^libdir=/s:lib$:$(ABI_LIBDIR):'
|
||||
)
|
||||
if ! use static-libs; then
|
||||
sed_args+=( -e '/\tinstall .*\/libaio.a/d' )
|
||||
# Tests require the static library to be built.
|
||||
use test || sed_args+=( -e '/^all_targets +=/s/ libaio.a//' )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" src/Makefile Makefile || die
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
if use arm ; then
|
||||
# When building for thumb, we can't allow frame pointers.
|
||||
# http://crbug.com/464517
|
||||
if $(tc-getCPP) ${CFLAGS} ${CPPFLAGS} - <<<$'#ifndef __thumb__\n#error\n#endif' >&/dev/null ; then
|
||||
append-flags -fomit-frame-pointer
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
_emake() {
|
||||
CC=$(tc-getCC) \
|
||||
AR=$(tc-getAR) \
|
||||
RANLIB=$(tc-getRANLIB) \
|
||||
ABI_LIBDIR=$(get_libdir) \
|
||||
CFLAGS_WERROR= \
|
||||
emake "$@"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
_emake
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
mkdir -p testdir || die
|
||||
# 'make check' breaks with sandbox, 'make partcheck' works
|
||||
_emake partcheck prefix="${S}/src" libdir="${S}/src"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
_emake install DESTDIR="${D}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
doman man/*
|
||||
dodoc ChangeLog TODO
|
||||
|
||||
# move crap to / for multipath-tools #325355
|
||||
gen_usr_ldscript -a aio
|
||||
|
||||
# This lib is a bare minimal shim on top of kernel syscalls.
|
||||
export QA_DT_NEEDED=$(find "${ED}" -type f -name 'libaio.so.*' -printf '/%P\n')
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>gokturk@binghamton.edu</email>
|
||||
<name>Gokturk Yuksek</name>
|
||||
<description>Primary Maintainer, Assign bugs</description>
|
||||
</maintainer>
|
||||
<longdescription>Library to provide user-level kernel Asynchronous I/O (AIO)
|
||||
support for Linux (needs kernel patches as of 2.6.12)</longdescription>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Library to provide user-level kernel Asynchronous I/O (AIO)
|
||||
support for Linux (needs kernel patches as of 2.6.12)
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
Loading…
x
Reference in New Issue
Block a user