liburing: update to 2.0.

Disable building tests and examples.

Closes #29622.
This commit is contained in:
Leah Neukirchen 2021-03-30 17:17:13 +02:00
parent 068e031bc1
commit e81e121126
3 changed files with 4 additions and 31 deletions

View file

@ -3894,7 +3894,7 @@ libJudy.so.1 judy-1.0.5_1
libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2
libKSeExprUI.so.4.0.1.0 seexpr-krita-4.0.1.0_1
libKSeExpr.so.4.0.1.0 seexpr-krita-4.0.1.0_1
liburing.so.1 liburing-0.7_1
liburing.so.2 liburing-2.0_1
libbson-1.0.so.0 libbson-1.17.4_2
libsonic.so.0 libsonic-0.2.0_1
libtickit.so.3 libtickit-0.4.1_1

View file

@ -1,28 +0,0 @@
From 74782fe227819eeadc9768bd9ffb10ee81ef60e1 Mon Sep 17 00:00:00 2001
From: Anthony Iliopoulos <ailiop@altatus.com>
Date: Sat, 26 Oct 2019 12:45:46 +0200
Subject: [PATCH] liburing/examples: disable compilation of ucontext-cp example
the code leverages ucontext.h functionality which is not implemented in
musl libc and thus fails compilation. the example code is anyway not
part of the final package, so just remove it from compilation.
---
examples/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git examples/Makefile examples/Makefile
index 6fe3ac3..61a2b56 100644
--- examples/Makefile
+++ examples/Makefile
@@ -4,7 +4,7 @@ override CFLAGS += -Wall -D_GNU_SOURCE -L../src/ -I../src/include/
include ../Makefile.quiet
-all_targets += io_uring-test io_uring-cp link-cp ucontext-cp
+all_targets += io_uring-test io_uring-cp link-cp
all: $(all_targets)
--
2.23.0

View file

@ -1,15 +1,16 @@
# Template file for 'liburing'
pkgname=liburing
version=0.7
version=2.0
revision=1
build_style=configure
configure_args="--mandir=/usr/share/man"
make_build_args="-C src"
short_desc="Linux-native io_uring I/O access library"
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
license="LGPL-2.1-only"
homepage="http://git.kernel.dk/cgit/liburing"
distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.gz"
checksum=05d0cf8493d573c76b11abfcf34aabc7153affebe17ff95f9ae88b0de062a59d
checksum=fcc29d6f00d0d1eca3d83d40cc7e9a2773ef98d4edbfe536b7317d65992f75f8
liburing-devel_package() {
short_desc+=" - development files"