python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / filesystems / bcache-tools / fix-static.patch
blobe5dd2df5299ddcf1725b08f1f24f03cfb7dc89b0
1 diff --git a/bcache.c b/bcache.c
2 index 8f37445..79806d8 100644
3 --- a/bcache.c
4 +++ b/bcache.c
5 @@ -26,7 +26,7 @@
6 * x^7 + x^4 + x + 1
7 */
9 -static const uint64_t crc_table[256] = {
10 +const uint64_t crc_table[256] = {
11 0x0000000000000000ULL, 0x42F0E1EBA9EA3693ULL, 0x85E1C3D753D46D26ULL,
12 0xC711223CFA3E5BB5ULL, 0x493366450E42ECDFULL, 0x0BC387AEA7A8DA4CULL,
13 0xCCD2A5925D9681F9ULL, 0x8E224479F47CB76AULL, 0x9266CC8A1C85D9BEULL,
14 @@ -115,7 +115,7 @@ static const uint64_t crc_table[256] = {
15 0x9AFCE626CE85B507ULL
18 -inline uint64_t crc64(const void *_data, size_t len)
19 +uint64_t crc64(const void *_data, size_t len)
21 uint64_t crc = 0xFFFFFFFFFFFFFFFFULL;
22 const unsigned char *data = _data;