commit 7426bb2d16ab45100213999ea643fce012c98a88
Author: Adam Gołębiowski <ad...@pld-linux.org>
Date:   Sun Oct 14 08:33:03 2018 +0200

    - updated to 1.0.8, don't inline crc64 in bcache.c

 bcache-tools-inline.patch | 11 +++++++++++
 bcache-tools.spec         |  6 ++++--
 2 files changed, 15 insertions(+), 2 deletions(-)
---
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}" \
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;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bcache-tools.git/commitdiff/7426bb2d16ab45100213999ea643fce012c98a88

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to