hidapi: fix build with toolchains lacking C++ support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Dec 2015 21:15:52 +0000 (22:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Dec 2015 21:18:11 +0000 (22:18 +0100)
commit26e1b249da4f041494f131dc9d1544419b50c87b
tree404af1e8713e085be7d0c998c559f66e7c3435d4
parent332d44a94f5f0ec3a1844f0173b851a896a54e46
hidapi: fix build with toolchains lacking C++ support

hidapi currently doesn't build on non-C++ capable toolchains due to
hidtest being a C++ source file, even if it in facts contains only C
code. This commit adds a patch that fixes this in the hidapi source
code.

Fixes:

  http://autobuild.buildroot.org/results/6ce/6ce0a4b8c7acb857005350a57c313b493bc6e2b7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/hidapi/0001-hidtest-dont-use-a-C-source-file-since-it-s-pure-C.patch [new file with mode: 0644]