summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-02-14 10:54:25 +0100
committerFlorian Schmaus <flow@gentoo.org>2023-02-14 10:54:48 +0100
commitc105442f99954cd2d818739435cd87afbf6d6cf3 (patch)
treed686e57bddd6c679e5ce8f0f9954b6a7841ddda0 /sys-libs
parentsys-libs/liburing: backport musl patch, enable tests (diff)
downloadgentoo-c105442f99954cd2d818739435cd87afbf6d6cf3.tar.gz
gentoo-c105442f99954cd2d818739435cd87afbf6d6cf3.tar.bz2
gentoo-c105442f99954cd2d818739435cd87afbf6d6cf3.zip
sys-libs/liburing: remove remaining usage of error.h in test code
Bug: https://bugs.gentoo.org/888956 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/liburing/files/liburing-2.3-remove-error-from-error_h-for-portability.patch10
-rw-r--r--sys-libs/liburing/liburing-2.3-r4.ebuild (renamed from sys-libs/liburing/liburing-2.3-r3.ebuild)0
2 files changed, 10 insertions, 0 deletions
diff --git a/sys-libs/liburing/files/liburing-2.3-remove-error-from-error_h-for-portability.patch b/sys-libs/liburing/files/liburing-2.3-remove-error-from-error_h-for-portability.patch
index 6af48d08aab0..0f2933a10bb4 100644
--- a/sys-libs/liburing/files/liburing-2.3-remove-error-from-error_h-for-portability.patch
+++ b/sys-libs/liburing/files/liburing-2.3-remove-error-from-error_h-for-portability.patch
@@ -74,6 +74,16 @@ Signed-off-by: Steffen Winter <steffen.winter@proton.me>
#include <sys/eventfd.h>
#include <signal.h>
#include <poll.h>
+--- a/test/send-zerocopy.c
++++ b/test/send-zerocopy.c
+@@ -4,7 +4,6 @@
+ #include <stdint.h>
+ #include <assert.h>
+ #include <errno.h>
+-#include <error.h>
+ #include <limits.h>
+ #include <fcntl.h>
+ #include <unistd.h>
--- a/test/single-issuer.c
+++ b/test/single-issuer.c
@@ -5,7 +5,6 @@
diff --git a/sys-libs/liburing/liburing-2.3-r3.ebuild b/sys-libs/liburing/liburing-2.3-r4.ebuild
index f599513579c9..f599513579c9 100644
--- a/sys-libs/liburing/liburing-2.3-r3.ebuild
+++ b/sys-libs/liburing/liburing-2.3-r4.ebuild