bcache-tools: fix build with gcc-5
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 2 Dec 2015 10:39:41 +0000 (10:39 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 Dec 2015 11:52:09 +0000 (12:52 +0100)
commit462843e0130c9b3117ed293d372ee21ab9987bb8
tree4e432bfff27e6a4b46e169ba25c0bf371fe85e6f
parentc142fc6f66f8e61e289007081e01cc9db4b3ac4f
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 <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch [new file with mode: 0644]