bcache-tools: bump version to 1.0.8
PATCH 1/2 bcache-tools: bump version to 1.0.8
And also add a hash file.
Signed-off-by Vicente Olivert Riera <[email protected]>
--- package/bcache-tools/bcache-tools.hash | 2 ++ package/bcache-tools/bcache-tools.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 package/bcache-tools/bcache-tools.hash
package/bcache-tools/bcache-tools.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 d56923936f37287efc57a46315679102ef2c86cd0be5874590320acd48c1201c bcache-tools-v1.0.8.tar.gz
package/bcache-tools/bcache-tools.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -BCACHE_TOOLS_VERSION = v1.0.7 +BCACHE_TOOLS_VERSION = v1.0.8 BCACHE_TOOLS_SITE = $(call github,g2p,bcache-tools,$(BCACHE_TOOLS_VERSION)) BCACHE_TOOLS_LICENSE = GPLv2 BCACHE_TOOLS_LICENSE_FILES = COPYING
Signature · 1 line
2.4.10
PATCH 2/2 bcache-tools: fix build with gcc-5
Backport a Debian patch to fix a build failure with gcc-5:
bcache.c:125:9: warning: 'crc_table' is static but used in inline function 'crc64' which is not static
...
make-bcache.c:277: undefined reference to `crc64'
This issue has been reported upstream but is not yet fixed.
Fixes:
http://autobuild.buildroot.net/results/410/410954d33206475d70b8e5ba55a2c955a229af9b/
Signed-off-by Vicente Olivert Riera <[email protected]>
--- ...on-t-inline-crc64-for-gcc-5-compatability.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch
package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch new file +35 -0
@@ -0,0 +1,35 @@ +Don't inline crc64 for gcc-5 compatability + +This patch is backported from Debian and it fixes the following error: + +bcache.c:125:9: warning: 'crc_table' is static but used in inline +function 'crc64' which is not static +... +make-bcache.c:277: undefined reference to `crc64' + +Signed-off-by: Vicente Olivert Riera <[email protected]> + +From: David Mohr <[email protected]> +Date: Tue, 26 May 2015 20:34:31 -0600 +Subject: Don't inline crc64 for gcc-5 compatability + +Forwarded: http://article.gmane.org/gmane.linux.kernel.bcache.devel/2919 + +By James Cowgill, see Debian bug #777798 +--- + bcache.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bcache.c b/bcache.c +index 8f37445..8b4b986 100644 +--- a/bcache.c ++++ b/bcache.c +@@ -115,7 +115,7 @@ static const uint64_t crc_table[256] = { + 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;
Signature · 1 line
2.4.10
PATCH 1/2 bcache-tools: bump version to 1.0.8
In reply to Vicente Olivert RieraDear Vicente Olivert Riera,
Quoted 8 lines · Vicente Olivert Riera
And also add a hash file.
Signed-off-by Vicente Olivert Riera <[email protected]>--- package/bcache-tools/bcache-tools.hash | 2 ++ package/bcache-tools/bcache-tools.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 package/bcache-tools/bcache-tools.hash
Both applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com