From 91c268598612c4e1a3f9c2a5370057a3dae58c99 Mon Sep 17 00:00:00 2001 From: David Flatz Date: Thu, 4 Feb 2021 18:33:54 +0100 Subject: [PATCH] bcache-tools: update to 1.1. --- srcpkgs/bcache-tools/patches/crc64.patch | 11 ----------- srcpkgs/bcache-tools/template | 14 ++++++++------ 2 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 srcpkgs/bcache-tools/patches/crc64.patch diff --git a/srcpkgs/bcache-tools/patches/crc64.patch b/srcpkgs/bcache-tools/patches/crc64.patch deleted file mode 100644 index 604d2a27c83..00000000000 --- a/srcpkgs/bcache-tools/patches/crc64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- bcache.c -+++ bcache.c -@@ -115,7 +115,7 @@ static const uint64_t crc_table[256] = { - 0x9AFCE626CE85B507ULL - }; - --inline uint64_t crc64(const void *_data, size_t len) -+uint64_t crc64(const void *_data, size_t len) - { - uint64_t crc = 0xFFFFFFFFFFFFFFFFULL; - const unsigned char *data = _data; diff --git a/srcpkgs/bcache-tools/template b/srcpkgs/bcache-tools/template index a3619e5bf22..95b8b4ba98f 100644 --- a/srcpkgs/bcache-tools/template +++ b/srcpkgs/bcache-tools/template @@ -1,17 +1,19 @@ # Template file for 'bcache-tools' pkgname=bcache-tools -version=1.0.8 +version=1.1 revision=1 build_style=gnu-makefile +make_use_env=yes hostmakedepends="pkg-config" -makedepends="libblkid-devel" +makedepends="libuuid-devel libblkid-devel libsmartcols-devel" short_desc="User space tools for the bcache hybrid storage system" maintainer="Enno Boland " -license="GPL-3" +license="GPL-2.0-only" homepage="https://bcache.evilpiepirate.org/" -distfiles="https://github.com/g2p/${pkgname}/archive/v${version}.tar.gz" -checksum=d56923936f37287efc57a46315679102ef2c86cd0be5874590320acd48c1201c -CFLAGS="-I$XBPS_CROSS_BASE/usr/include/blkid" +distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/${pkgname}.git/snapshot/${pkgname}-${version}.tar.gz" +checksum=d1c92274ae03b414dd1a05277bf89dd2a8395496c692e3b143d9e6112d3421f8 +python_version=3 +site="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/${pkgname}.git/" pre_install() { vmkdir usr/bin