From: Adam Gołębiowski Date: Sun, 14 Oct 2018 06:33:03 +0000 (+0200) Subject: - updated to 1.0.8, don't inline crc64 in bcache.c X-Git-Tag: auto/th/bcache-tools-1.0.8-1 X-Git-Url: https://git.pld-linux.org/gitweb.cgi?p=packages%2Fbcache-tools.git;a=commitdiff_plain;h=7426bb2d16ab45100213999ea643fce012c98a88 - updated to 1.0.8, don't inline crc64 in bcache.c --- diff --git a/bcache-tools-inline.patch b/bcache-tools-inline.patch new file mode 100644 index 0000000..bb78f72 --- /dev/null +++ b/bcache-tools-inline.patch @@ -0,0 +1,11 @@ +--- bcache-tools-1.0.8/bcache.c~ 2014-12-04 23:51:24.000000000 +0100 ++++ bcache-tools-1.0.8/bcache.c 2018-10-14 08:30:44.775983181 +0200 +@@ -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; diff --git a/bcache-tools.spec b/bcache-tools.spec index 94ea6da..b425ca1 100644 --- a/bcache-tools.spec +++ b/bcache-tools.spec @@ -1,12 +1,13 @@ Summary: Userspace tools for bcache Summary(pl.UTF-8): Narzędzia przestrzeni użytkownika do bcache Name: bcache-tools -Version: 1.0.7 +Version: 1.0.8 Release: 1 License: GPL v2 Group: Applications/System Source0: https://github.com/g2p/bcache-tools/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 0a62d183b8b2e4599579ad0e42880406 +# Source0-md5: d1632a7c37214e0aa38f3cf95624fa46 +Patch0: %{name}-inline.patch URL: http://bcache.evilpiepirate.org/ BuildRequires: libblkid-devel BuildRequires: libuuid-devel @@ -46,6 +47,7 @@ Obsługa bcache dla Dracuta. %prep %setup -q +%patch0 -p1 %build CC="%{__cc}" \