From 8f71364c2bcb0db26fafba41be86f8b376606207 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 18 Apr 2019 16:16:01 -0300 Subject: [PATCH] thin-provisioning-tools: update to 0.8.0. --- .../patches/musl.patch | 42 ------------------- srcpkgs/thin-provisioning-tools/template | 6 +-- 2 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 srcpkgs/thin-provisioning-tools/patches/musl.patch diff --git a/srcpkgs/thin-provisioning-tools/patches/musl.patch b/srcpkgs/thin-provisioning-tools/patches/musl.patch deleted file mode 100644 index 889e0019a3..0000000000 --- a/srcpkgs/thin-provisioning-tools/patches/musl.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- block-cache/io_engine.h.orig 2017-03-27 15:00:54.000000000 +0200 -+++ block-cache/io_engine.h 2017-06-13 23:49:37.403053236 +0200 -@@ -10,13 +10,17 @@ - #include - #include - -+#include -+#ifndef PAGE_SIZE -+#define PAGE_SIZE sysconf(_SC_PAGE_SIZE) -+#endif -+ - //---------------------------------------------------------------- - - namespace bcache { - using sector_t = uint64_t; - - unsigned const SECTOR_SHIFT = 9; -- unsigned const PAGE_SIZE = 4096; - - // Virtual base class to aid unit testing - class io_engine { ---- unit-tests/io_engine_t.cc.orig 2017-03-27 15:00:54.000000000 +0200 -+++ unit-tests/io_engine_t.cc 2017-06-13 23:58:17.674546348 +0200 -@@ -23,6 +23,10 @@ - - - #include -+#include -+#ifndef PAGE_SIZE -+#define PAGE_SIZE sysconf(_SC_PAGE_SIZE) -+#endif - - using namespace boost; - using namespace std; -@@ -33,7 +37,6 @@ - - namespace { - unsigned const MAX_IO = 64; -- unsigned const PAGE_SIZE = 4096; - - class IOEngineTests : public Test { - public: diff --git a/srcpkgs/thin-provisioning-tools/template b/srcpkgs/thin-provisioning-tools/template index 5efd2b5e99..af210dc6be 100644 --- a/srcpkgs/thin-provisioning-tools/template +++ b/srcpkgs/thin-provisioning-tools/template @@ -1,7 +1,7 @@ # Template file for 'thin-provisioning-tools' pkgname=thin-provisioning-tools -version=0.7.6 -revision=2 +version=0.8.0 +revision=1 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" makedepends="boost-devel expat-devel libaio-devel" @@ -10,7 +10,7 @@ maintainer="Juan RP " license="GPL-3.0-or-later" homepage="https://github.com/jthornber/thin-provisioning-tools" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=491358c1406414ab3f06b260bd9da8a2f9109c4c426dda899d4d985860dfc01f +checksum=af4288954303af2fc39684ba7dbe9ff1683ed51c3290649a472a2f3adffebba5 pre_configure() { autoreconf -fi