package/usbguard: disable on musl
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 4 Jul 2021 15:48:48 +0000 (17:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 18 Jul 2021 17:58:10 +0000 (19:58 +0200)
commit2392f76b6b345308baf8d3d2f075793d30185d76
tree001f130c7bd2daba74ddd0e056799c925ec9c343
parentb18d9d6191c3ca1f74115e6395ff8e9ee1b75b89
package/usbguard: disable on musl

usbguard doesn't build on musl because it uses GNU version of strerror_r
as well as basename resulting in the following build failure:

In file included from ./src/Library/public/usbguard/Rule.hpp:24,
                 from src/CLI/usbguard-rule-parser.cpp:23:
./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)':
./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(int)'
  129 |       return std::string(strerror_r(errno_value, buffer, sizeof buffer));
      |

Fixes:
 - http://autobuild.buildroot.org/results/ac1fd7b8c7bd65c73a9213a40c5ed1c39204dab0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/usbguard/Config.in