Commit be384e87 authored by Natanael Copa's avatar Natanael Copa

main/bcache-tools: build with eudev, fix build with gcc5

parent 3bc33b29
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bcache-tools
pkgver=1.0.8
pkgrel=0
pkgrel=1
pkgdesc="tools for managing bcache"
url="http://bcache.evilpiepirate.org/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev udev-dev util-linux-dev linux-headers coreutils"
makedepends="$depends_dev eudev-dev util-linux-dev linux-headers coreutils"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/g2p/bcache-tools/archive/v$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/g2p/bcache-tools/archive/v$pkgver.tar.gz
gcc5.patch
"
_builddir="$srcdir"/bcache-tools-$pkgver
prepare() {
......@@ -40,6 +42,9 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="d1632a7c37214e0aa38f3cf95624fa46 bcache-tools-1.0.8.tar.gz"
sha256sums="d56923936f37287efc57a46315679102ef2c86cd0be5874590320acd48c1201c bcache-tools-1.0.8.tar.gz"
sha512sums="21eaed457e5de623089c0d4e1c11394a3950f29c749c502bfd5dd94d3dcdc7379c4a910825e33bf9fc8080df656949b94a1a28d19048a8eb6422976cb391b7dc bcache-tools-1.0.8.tar.gz"
md5sums="d1632a7c37214e0aa38f3cf95624fa46 bcache-tools-1.0.8.tar.gz
49cc0d487c18a21d1349b313b8feb17b gcc5.patch"
sha256sums="d56923936f37287efc57a46315679102ef2c86cd0be5874590320acd48c1201c bcache-tools-1.0.8.tar.gz
6fafd1409d35854d084b7a632621cd994ba996ab1ea031a29353b0dcb6c1913b gcc5.patch"
sha512sums="21eaed457e5de623089c0d4e1c11394a3950f29c749c502bfd5dd94d3dcdc7379c4a910825e33bf9fc8080df656949b94a1a28d19048a8eb6422976cb391b7dc bcache-tools-1.0.8.tar.gz
16928c4d78c00f8be73c3bfb4ccc63d1e3eeabcc2da87569f51c240ba018b2dd6b5d6b828601192e8b59cd82b4931b57318f7f0e2f9af169f41cc7b779ce26ab gcc5.patch"
--- ./bcache.c.orig
+++ ./bcache.c
@@ -115,7 +115,7 @@
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;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment