dev-libs/libaio: restore keywords to 0.3.113; backport 32-bit test fix

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-06-09 05:22:19 +01:00
parent d7945ab3bc
commit 3e57d7cb8d
2 changed files with 33 additions and 5 deletions

View File

@@ -0,0 +1,31 @@
https://pagure.io/libaio/pull-request/22.patch
https://pagure.io/libaio/pull-request/22
https://pagure.io/libaio/issue/21
From b8eadc9f89e8f7ab0338eacda9f98a6caea76883 Mon Sep 17 00:00:00 2001
From: Andreas Baumann <mail@andreasbaumann.cc>
Date: Jun 02 2022 11:33:11 +0000
Subject: harness: use off64_t instead of off_t in test 23.t (EINVAL on 32-bit)
--- a/harness/cases/23.t
+++ b/harness/cases/23.t
@@ -72,7 +72,7 @@ static void fail_errno(const char *format, ...)
static void *thrproc2(void *arg)
{
for (;;) {
- off_t offset = 0;
+ off64_t offset = 0;
pthread_barrier_wait(&barrier);
if (exiting)
@@ -92,7 +92,7 @@ static void *thrproc3(void *arg)
{
for (;;) {
char c;
- off_t offset = 0;
+ off64_t offset = 0;
pthread_barrier_wait(&barrier);
if (exiting)

View File

@@ -12,11 +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"
# Has test failure on abi_x86_32 which needs investigating
# https://marc.info/?l=linux-aio&m=164996470108464&w=2
# https://pagure.io/libaio/issue/21
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~loong"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="LGPL-2"
SLOT="0"
@@ -26,6 +22,7 @@ RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}"/${PN}-0.3.112-cppflags.patch
"${FILESDIR}"/${PN}-0.3.113-respect-LDFLAGS.patch
"${FILESDIR}"/${PN}-0.3.113-32-bit-tests.patch
)
src_prepare() {