diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-16 14:32:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-17 07:57:29 +0000 |
commit | be384e876f94f851e647c40e3d3522931302ac48 (patch) | |
tree | bc2b8f0f56b7df7ce6caa5a222816bb0e3706c56 /main/bcache-tools/gcc5.patch | |
parent | 3bc33b297bb4430a52c7632757b8dc73c1eb26ca (diff) | |
download | aports-be384e876f94f851e647c40e3d3522931302ac48.tar.bz2 aports-be384e876f94f851e647c40e3d3522931302ac48.tar.xz |
main/bcache-tools: build with eudev, fix build with gcc5
Diffstat (limited to 'main/bcache-tools/gcc5.patch')
-rw-r--r-- | main/bcache-tools/gcc5.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/bcache-tools/gcc5.patch b/main/bcache-tools/gcc5.patch new file mode 100644 index 0000000000..0a80f0d93f --- /dev/null +++ b/main/bcache-tools/gcc5.patch @@ -0,0 +1,11 @@ +--- ./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; |