From b8cde1b700af85cbe08eb2d082cf69da63579d99 Mon Sep 17 00:00:00 2001 From: Anthony Iliopoulos Date: Mon, 3 Feb 2020 15:01:11 +0100 Subject: [PATCH] liburing: update to 0.3. --- ...dd-missing-header-include-for-mode_t.patch | 26 +++++++++++++++++++ srcpkgs/liburing/template | 8 +++--- 2 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/liburing/patches/0001-liburing-add-missing-header-include-for-mode_t.patch diff --git a/srcpkgs/liburing/patches/0001-liburing-add-missing-header-include-for-mode_t.patch b/srcpkgs/liburing/patches/0001-liburing-add-missing-header-include-for-mode_t.patch new file mode 100644 index 00000000000..a47963cdd93 --- /dev/null +++ b/srcpkgs/liburing/patches/0001-liburing-add-missing-header-include-for-mode_t.patch @@ -0,0 +1,26 @@ +From d9b29b093f4ed04fb5c1fe505d81549d08ca9893 Mon Sep 17 00:00:00 2001 +From: Anthony Iliopoulos +Date: Mon, 3 Feb 2020 14:48:40 +0100 +Subject: [PATCH] liburing: add missing header include for mode_t + +The typedef mode_t is defined in sys/types.h which is not being +explicitly included in liburing.h, and this breaks musl compilation. +--- + src/include/liburing.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git src/include/liburing.h src/include/liburing.h +index 78e8364..992fe7c 100644 +--- src/include/liburing.h ++++ src/include/liburing.h +@@ -10,6 +10,7 @@ extern "C" { + #include + #include + #include ++#include + #include "liburing/compat.h" + #include "liburing/io_uring.h" + #include "liburing/barrier.h" +-- +2.25.0 + diff --git a/srcpkgs/liburing/template b/srcpkgs/liburing/template index 7277a3453c5..5134e268cf6 100644 --- a/srcpkgs/liburing/template +++ b/srcpkgs/liburing/template @@ -1,6 +1,6 @@ # Template file for 'liburing' pkgname=liburing -version=0.2 +version=0.3 revision=1 archs="i686* x86_64* aarch64*" build_style=configure @@ -8,9 +8,9 @@ configure_args="--mandir=/usr/share/man" short_desc="Linux-native io_uring I/O access library" maintainer="Anthony Iliopoulos " license="LGPL-2.1-only" -homepage="http://git.kernel.dk/cgit/liburing/" -distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.xz" -checksum=9e971105a376dc71feb76efe3e2a708e7da28b662edca77f8d230f000debde01 +homepage="https://git.kernel.dk/cgit/liburing" +distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.bz2" +checksum=71284ea57942f007d7b53c593ae23fb129640dacffdde20a8d7cb4d2a047ee13 liburing-devel_package() { short_desc+=" - development files"