liburing: update to 0.2.

This commit is contained in:
Anthony Iliopoulos 2019-10-26 12:07:53 +02:00 committed by Juan RP
parent d01363e278
commit d559556e43
2 changed files with 31 additions and 3 deletions

View File

@ -0,0 +1,28 @@
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,8 +1,8 @@
# Template file for 'liburing'
pkgname=liburing
version=0.1
version=0.2
revision=1
archs="i686* x86_64*"
archs="i686* x86_64* aarch64*"
build_style=configure
configure_args="--mandir=/usr/share/man"
short_desc="Linux-native io_uring I/O access library"
@ -10,7 +10,7 @@ maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
license="LGPL-2.1-only"
homepage="http://git.kernel.dk/cgit/liburing/"
distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.xz"
checksum=a018ca58d38d5d4b544bfaa539f8dba60ed30e74ffae91ffbc8bea70d304fc5e
checksum=9e971105a376dc71feb76efe3e2a708e7da28b662edca77f8d230f000debde01
liburing-devel_package() {
short_desc+=" - development files"