From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- dev-libs/libaio/Manifest | 12 +-- dev-libs/libaio/files/libaio-0.3.109-install.patch | 45 ----------- .../libaio/files/libaio-0.3.109-testcase-8.patch | 19 ----- dev-libs/libaio/files/libaio-0.3.109-x32.patch | 63 ---------------- .../libaio/files/libaio-0.3.110-cppflags.patch | 25 ------ .../libaio/files/libaio-0.3.110-link-stdlib.patch | 21 ------ .../files/libaio-0.3.110-optional-werror.patch | 30 -------- dev-libs/libaio/libaio-0.3.110.ebuild | 83 -------------------- dev-libs/libaio/libaio-0.3.111.ebuild | 88 ---------------------- dev-libs/libaio/libaio-0.3.112.ebuild | 2 +- 10 files changed, 2 insertions(+), 386 deletions(-) delete mode 100644 dev-libs/libaio/files/libaio-0.3.109-install.patch delete mode 100644 dev-libs/libaio/files/libaio-0.3.109-testcase-8.patch delete mode 100644 dev-libs/libaio/files/libaio-0.3.109-x32.patch delete mode 100644 dev-libs/libaio/files/libaio-0.3.110-cppflags.patch delete mode 100644 dev-libs/libaio/files/libaio-0.3.110-link-stdlib.patch delete mode 100644 dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch delete mode 100644 dev-libs/libaio/libaio-0.3.110.ebuild delete mode 100644 dev-libs/libaio/libaio-0.3.111.ebuild (limited to 'dev-libs/libaio') diff --git a/dev-libs/libaio/Manifest b/dev-libs/libaio/Manifest index fb7f0b709573..5d925f5d4c5a 100644 --- a/dev-libs/libaio/Manifest +++ b/dev-libs/libaio/Manifest @@ -1,16 +1,6 @@ -AUX libaio-0.3.109-install.patch 1506 BLAKE2B 733b48b124716e3e6af3d383995c5d5b22ebb9ed9c0b732a1615694ee7220d4effb3889c11a2d0089d24d3f3d1a43a94cfc0101dce7d2256bb4084e92d3e5931 SHA512 67c7813c573637fb16f930a4a5eed53c04b520356caa809ec3cdfd1ea587d09a30024f41d03264a31e3ae4410b01193f87e14a40b85a93591573516905abd79e -AUX libaio-0.3.109-testcase-8.patch 579 BLAKE2B 4abbd4d6ef0f4e3f1fdb07802123431128d828a1b05998388fa701b0ecd1f79ab91f2c4aebc4e21beabd4fe1e20be5b28b3d49ccdcd1b70df2d61222c2bae117 SHA512 e39ea546c9035d064f18845ffd2987254eb0205bfe220639df295498aea8a1003d83142c0a8de3d73c7178ad2ccb784e898c5586083ea2b2193d480948828a3c -AUX libaio-0.3.109-x32.patch 2122 BLAKE2B 45d7487af74f14cb5212cdd87137de0714a91ddb123492e7bb7a9dce6b5d0e2a2233809bcd12ddd622c348677eefaeafa26a7423e419a67c5d447d600cb30a92 SHA512 0de645aa290919de0c82c26a0ecbed1d27dc3fdeeb909a86f36ee875afae2803ce97e0088c75e47a1de1cef99527659da75b9e17e5c310a1a518eb02a948a0b2 -AUX libaio-0.3.110-cppflags.patch 629 BLAKE2B 0fb7bee48ba36c68aad96f76254fb7efaa158158f7b786bc4e3b92fefb01cde79363b1ee9898d4b0a9b8637d32d7b0148b217291f3ea493c45fb29539e0e647e SHA512 b39fabcb37e75ab9300d78476a7468359efa883a49822db28d11d305d557f835ac9245b9c8c3e0a8ff6c7fd70125c841056f1e22175025d16a99ce94f849f80c -AUX libaio-0.3.110-link-stdlib.patch 731 BLAKE2B 9599f75d405de3c1fd38c15cdcac6c65e624674d0be01982d13480fa0fe4020ebfebf0d22b1614cb70d4533f93d1dd58f293aff314a414d84c94fbab499db3da SHA512 b434da8190ca145fcdd64aa788be5d8bd1b44c112e117bfb8583cce91cfdcfb52038189bd9c92d690286e6576d82e74e62b465585f6333f1a920769ddbe29c32 -AUX libaio-0.3.110-optional-werror.patch 832 BLAKE2B d732c6c15247a6b601e4296acfe9733109360dc57f4397f7ae35a207b5c98e652d9c9dd67d52bf4997a26498a58722a77dcceb01df9b0b39289f51596e39aa2d SHA512 14b73acded7f67d01e199c411f2ea090b1d0d666521233d3829ca76572d6962f5dc3560096dc10e13c342eed046fb47a6e370e57fceab457696fad6c888a5067 AUX libaio-0.3.111-optional-werror.patch 911 BLAKE2B f6ce9b16bfe7d3fe3fde520c4e6438b534b1ea54561faf94229cbdaa2cae40ee6e6ab0e9a689f08f7e43442d1b863bdf2c42e784774cca89003feb5dbbffd63b SHA512 8315c9ca018578d4b8e81b87ce155d8ebfc586be68f24659a91f027449cd27a9660b2cf33ce47fcf240ce44f2b7f1095e8d5996ad08782d91392f6dd8fafa5a8 AUX libaio-0.3.112-cppflags.patch 350 BLAKE2B 8c2d0706f92a47dffff6465712588b525b89ff223019cf3ec759beca14ff2ef9515d4b3697ca64931c2d86969a40ad74642aa06544cc2671906e5b49d2e10352 SHA512 7386d741658af265cc4f156d4cc8518a7ec9abc15e8738cb13c2e2c3827b284cf8f8ee07c4a16dd0b7ae424cf87e9aad438389f0a832dac2e49ef945e3829374 -DIST libaio-0.3.110.tar.gz 42270 BLAKE2B e774e5888106ffcf4db08569a8b3dc6722f4e0e8278e9f2fafe865e282c0568059e8dbb37aab7a33719ab4d80f42404bfb1d4ab03f5c066d9eb75301676f525e SHA512 664295d330d6e9adc005e2331e77582619625b479ffc2b81728ba6a682487380ee936079c4a69d35144b458bbe35c612f4ed9b32e913bd7e109b824345763eb3 -DIST libaio-0.3.111.tar.gz 44557 BLAKE2B dc2f44599218de0ca80cfc17f604eb85c9b1241ce7221f49f1a4ee8c5bd3fa135c29ac8d97f6f97550a508e27b0dc92eb709256ffd803c1feca255016a4d674d SHA512 259b89647e22ba47edd4076b8d6aa8ab89af197b64930aa5b01b69fc1969b13b4a5e91c449ccdc9b2746c9eae3160211ce1fe110d252efeca5f2c56d0ea66e2e DIST libaio-0.3.112.tar.gz 46977 BLAKE2B 088f3b195a65bdc97ae2318e47af17c65259ed3208dca7bfef93c81a800602085e5b2078dbd436c740be316d0ebd923a1b3b7c0808257e2e7c7fb0f7ae1e0dba SHA512 5f984529c9f747a6c82f1e4457fc0832bb1fc299ae6e700f2ac5a8ea7b9bfc6ea1e75809728cc115a020cff6685ed1f4e38c6aeacc1ea98dfccce04dd19dafaa -EBUILD libaio-0.3.110.ebuild 2250 BLAKE2B a1f396b417bb1b8c2579e3ca589d9e6df24818b13084d09fd480a8f64ab19eef5aa2a543f7e467786ef4177ebce3bf60b8f893b21ddcdc529e0026f14a1f6c74 SHA512 569e5ec134506b4e20f4eeb586dd88e3f2bdefcb737300fb4c6f103876207d1bd60fdb76f2e3b1b4d4ca4984a96efb1ee924d16547e1faf36dbeca28507c12b0 -EBUILD libaio-0.3.111.ebuild 2232 BLAKE2B 81065497e191a4e62b17d61df604b073522dbe9ced1ebd162081fca73765fcec638cc2d40ddf70daa11480c75ea51ef3197fc4905791721db96a7cb5721c4a82 SHA512 0f374c61ef9f6567739b5d948749184ef8e60ab5c9bf005f20339ed5199a954a64816998fcc060bd7b953fc17db02bca4654f8d426c2c088f07437e1fcb4797d -EBUILD libaio-0.3.112.ebuild 2125 BLAKE2B ac8267b79002054a25bcbea0ee87bd181a5a5ad02477c580b02545fb258be3e31bcf40277dbde435f747c0e8148444ddd0d98636f66e047796b876f88ed8b847 SHA512 baf0dd21b9fa63ff80a80080afa387f359414017fd2741c0ce514096158b9135e95a0e39951f96ad8ff829c954674d2db3e136ca93a5a698b2eca9f04d7a19ed +EBUILD libaio-0.3.112.ebuild 2124 BLAKE2B b3016e52def118b2b7d7b7bb8d4f1d9d1439497c91b1116245d6a82729077ae41832700cc00d3ca8e3d8f3fc09f3a9e5de55f959e1af310497cfb2d2187edecc SHA512 55aaef6e962dc5aeb65da6922988d4c3aa18724b5c75d2aa2f39700ad7efcc7724e13d3d5feaaacefb539a3081041e708514ae14e24df8d7719c4d7979fc7c7b EBUILD libaio-9999.ebuild 2133 BLAKE2B fe7d9b4ce5833f1c69d3a8fd96ca96fbed6a6a3c258c11ede1cced85ea0bea6bdcf69fc0465ba34807a40e18a7e2969dabe7b7b40ad68edce4e20c80adb0ee1b SHA512 b66c4a780ba95d16eb7e0c9f8bd7d432c864a22bcfa3d06d6954de02e95c891a1dda29893da944ebd1b817ac83afdbc351ede92f065059c50861c7a17d100232 MISC metadata.xml 414 BLAKE2B 291cfb45ed8ed29e916e1873b00685eb32f2cfdca2f225176028fda48335bff8369d1084565acc79d58bcf1c69af752efc0f7d30fa775406be03ce432c56c5df SHA512 31c76d1e4bb0c87402c00bdef098bf930b273cdf6c631a704fb02f925a3cdfebcded9d33d31f10cdd8c9ae2ab9bb71dd2cd0113029df501ad83a5a92b611b7c8 diff --git a/dev-libs/libaio/files/libaio-0.3.109-install.patch b/dev-libs/libaio/files/libaio-0.3.109-install.patch deleted file mode 100644 index 9c049fcbf5cd..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.109-install.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 2e34caef82a2367a85de4f06daf5e5a92f61e845 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -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 ---- - 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 - diff --git a/dev-libs/libaio/files/libaio-0.3.109-testcase-8.patch b/dev-libs/libaio/files/libaio-0.3.109-testcase-8.patch deleted file mode 100644 index de66f2110f22..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.109-testcase-8.patch +++ /dev/null @@ -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; - } - } diff --git a/dev-libs/libaio/files/libaio-0.3.109-x32.patch b/dev-libs/libaio/files/libaio-0.3.109-x32.patch deleted file mode 100644 index 1d2c2a9050fa..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.109-x32.patch +++ /dev/null @@ -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 - -Signed-Off-By: Nitin A Kamble -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; \ - } diff --git a/dev-libs/libaio/files/libaio-0.3.110-cppflags.patch b/dev-libs/libaio/files/libaio-0.3.110-cppflags.patch deleted file mode 100644 index 4567ac946681..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.110-cppflags.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 3bf96bb62370035dba18d4b25459406b32365cfc Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Wed, 26 Mar 2014 23:10:18 -0400 -Subject: [PATCH] respect env CPPFLAGS - -Signed-off-by: Mike Frysinger ---- - 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 - diff --git a/dev-libs/libaio/files/libaio-0.3.110-link-stdlib.patch b/dev-libs/libaio/files/libaio-0.3.110-link-stdlib.patch deleted file mode 100644 index 696a928f24d8..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.110-link-stdlib.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: Gokturk Yuksek -Subject: [PATCH] Link against stdlib to resolve fortified functions - -When '-fstack-protector-strong' is included in CFLAGS, the function -'__stack_chk_fail_local' needs to be pulled from libc. However, upstream -uses '-nostdlib' to avoid linking against any C library or gcc libs. Remove -'-nostdlib' and '-nostartfiles' to pull the required symbols from libc. - -Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=558406 - ---- a/src/Makefile -+++ b/src/Makefile -@@ -4,7 +4,7 @@ - usrlibdir=$(libdir) - - CFLAGS ?= -g -fomit-frame-pointer -O2 --CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC -+CFLAGS += -Wall -I. -fPIC - CFLAGS += $(CPPFLAGS) - SO_CFLAGS=-shared $(CFLAGS) - L_CFLAGS=$(CFLAGS) diff --git a/dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch b/dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch deleted file mode 100644 index 2933cf5244bc..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 0cc7dc108d0b2288b40d82bb2fd1fd8bdc08f764 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Wed, 26 Mar 2014 23:07:58 -0400 -Subject: [PATCH] make -Werror into an optional flag - -This lets distros disable the flag as random errors might come up with -different compiler flags and older/newer toolchain versions. - -Signed-off-by: Mike Frysinger ---- - harness/Makefile | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/harness/Makefile b/harness/Makefile -index 2a88e71..cf8c90d 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_WERROR?=-Werror -+CFLAGS+=-Wall $(CFLAGS_WERROR) -I../src -g -O - #-lpthread -lrt - - all: $(PROGS) --- -1.9.1 - diff --git a/dev-libs/libaio/libaio-0.3.110.ebuild b/dev-libs/libaio/libaio-0.3.110.ebuild deleted file mode 100644 index 0fc7844e2691..000000000000 --- a/dev-libs/libaio/libaio-0.3.110.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib-minimal toolchain-funcs flag-o-matic usr-ldscript - -DESCRIPTION="Asynchronous input/output library that uses the kernels native interface" -HOMEPAGE="http://lse.sourceforge.net/io/aio.html" -SRC_URI="mirror://debian/pool/main/liba/${PN}/${PN}_${PV}.orig.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="static-libs test" -RESTRICT="!test? ( test )" - -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 \ - "${FILESDIR}"/${PN}-0.3.110-link-stdlib.patch #558406 - - 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') -} diff --git a/dev-libs/libaio/libaio-0.3.111.ebuild b/dev-libs/libaio/libaio-0.3.111.ebuild deleted file mode 100644 index 904ebacb9c98..000000000000 --- a/dev-libs/libaio/libaio-0.3.111.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2020 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://pagure.io/${PN}/archive/${P}/${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.109-install.patch - "${FILESDIR}"/${PN}-0.3.110-cppflags.patch - "${FILESDIR}"/${PN}-0.3.111-optional-werror.patch - "${FILESDIR}"/${PN}-0.3.110-link-stdlib.patch #558406 -) - -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') -} diff --git a/dev-libs/libaio/libaio-0.3.112.ebuild b/dev-libs/libaio/libaio-0.3.112.ebuild index f8b29796145c..4795bb4a812b 100644 --- a/dev-libs/libaio/libaio-0.3.112.ebuild +++ b/dev-libs/libaio/libaio-0.3.112.ebuild @@ -12,7 +12,7 @@ if [[ "${PV}" == 9999 ]] ; then 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" + 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" -- cgit v1.2.3