From a26c208717de48d4b7bb58ee470e98359466c046 Mon Sep 17 00:00:00 2001 From: Anthony Iliopoulos Date: Sat, 26 Oct 2019 12:07:53 +0200 Subject: [PATCH] liburing: update to 0.2. --- ...s-disable-compilation-of-ucontext-cp.patch | 28 +++++++++++++++++++ srcpkgs/liburing/template | 4 +-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/liburing/patches/0001-liburing-examples-disable-compilation-of-ucontext-cp.patch diff --git a/srcpkgs/liburing/patches/0001-liburing-examples-disable-compilation-of-ucontext-cp.patch b/srcpkgs/liburing/patches/0001-liburing-examples-disable-compilation-of-ucontext-cp.patch new file mode 100644 index 00000000000..2faa3d6b1f2 --- /dev/null +++ b/srcpkgs/liburing/patches/0001-liburing-examples-disable-compilation-of-ucontext-cp.patch @@ -0,0 +1,28 @@ +From 74782fe227819eeadc9768bd9ffb10ee81ef60e1 Mon Sep 17 00:00:00 2001 +From: Anthony Iliopoulos +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 + diff --git a/srcpkgs/liburing/template b/srcpkgs/liburing/template index 061f29d1525..1095386700d 100644 --- a/srcpkgs/liburing/template +++ b/srcpkgs/liburing/template @@ -1,6 +1,6 @@ # Template file for 'liburing' pkgname=liburing -version=0.1 +version=0.2 revision=1 archs="i686* x86_64*" build_style=configure @@ -10,7 +10,7 @@ maintainer="Anthony Iliopoulos " 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"