]> git.pld-linux.org Git - packages/bcache-tools.git/commitdiff
- updated to 1.0.8, don't inline crc64 in bcache.c auto/th/bcache-tools-1.0.8-1
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 14 Oct 2018 06:33:03 +0000 (08:33 +0200)
committerAdam Gołębiowski <adamg@pld-linux.org>
Sun, 14 Oct 2018 06:33:03 +0000 (08:33 +0200)
bcache-tools-inline.patch [new file with mode: 0644]
bcache-tools.spec

diff --git a/bcache-tools-inline.patch b/bcache-tools-inline.patch
new file mode 100644 (file)
index 0000000..bb78f72
--- /dev/null
@@ -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;
index 94ea6dad665a7d8cd0aa2e3d7d7bbc33a724482e..b425ca1eef3e7fcf45d278c1bff56cd690f47a76 100644 (file)
@@ -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}" \
This page took 0.587943 seconds and 4 git commands to generate.