CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2021/04/12 05:22:33
Modified files:
comms/sigrok/libsigrok: Makefile
Added files:
comms/sigrok/libsigrok/patches: patch-src_backend_c
Log message:
libsigrok: use libhidapi's hid_init() instead of our usbhid(3)'s one
Because our usbhid(3) defines hid_init(3), the libhidapi's one has been
renamed to hidapi_hid_init(). Sigrok expects the libhidapi one. This led
to build failures on ld.bfd arches, and probably runtime errors on other
arches.
As such, redefine the hid_init() call to hidapi_hid_init().
OK sthen@, kmos@ (who build tested on sparc64) and
"seems ok to me" bentley@ (maintainer)