summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-09 05:22:19 +0100
committerSam James <sam@gentoo.org>2022-06-09 05:22:35 +0100
commit3e57d7cb8da105f6347f77278d5cef9ff89b4bbf (patch)
treea3ef6afbec6196ee7b11806be1abb2aa55b146f6 /dev-libs/libaio
parentx11-drivers/nvidia-drivers: stabilize 510.73.05-r1 for amd64 (diff)
downloadgentoo-3e57d7cb8da105f6347f77278d5cef9ff89b4bbf.tar.gz
gentoo-3e57d7cb8da105f6347f77278d5cef9ff89b4bbf.tar.bz2
gentoo-3e57d7cb8da105f6347f77278d5cef9ff89b4bbf.zip
dev-libs/libaio: restore keywords to 0.3.113; backport 32-bit test fix
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libaio')
-rw-r--r--dev-libs/libaio/files/libaio-0.3.113-32-bit-tests.patch31
-rw-r--r--dev-libs/libaio/libaio-0.3.113.ebuild7
2 files changed, 33 insertions, 5 deletions
diff --git a/dev-libs/libaio/files/libaio-0.3.113-32-bit-tests.patch b/dev-libs/libaio/files/libaio-0.3.113-32-bit-tests.patch
new file mode 100644
index 000000000000..e8ad07a5cde5
--- /dev/null
+++ b/dev-libs/libaio/files/libaio-0.3.113-32-bit-tests.patch
@@ -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)
+
+
diff --git a/dev-libs/libaio/libaio-0.3.113.ebuild b/dev-libs/libaio/libaio-0.3.113.ebuild
index c72cf7a83a27..9cc009f24bd3 100644
--- a/dev-libs/libaio/libaio-0.3.113.ebuild
+++ b/dev-libs/libaio/libaio-0.3.113.ebuild
@@ -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() {