SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
comms/libhidapi/patches/patch-hidapi_hidapi_h
Normal file
14
comms/libhidapi/patches/patch-hidapi_hidapi_h
Normal file
|
@ -0,0 +1,14 @@
|
|||
rename hid_init() to hidapi_hid_init() to avoid collision with usbhid
|
||||
|
||||
Index: hidapi/hidapi.h
|
||||
--- hidapi/hidapi.h.orig
|
||||
+++ hidapi/hidapi.h
|
||||
@@ -197,7 +197,7 @@ extern "C" {
|
||||
This function returns 0 on success and -1 on error.
|
||||
Call hid_error(NULL) to get the failure reason.
|
||||
*/
|
||||
- int HID_API_EXPORT HID_API_CALL hid_init(void);
|
||||
+ int HID_API_EXPORT HID_API_CALL hidapi_hid_init(void);
|
||||
|
||||
/** @brief Finalize the HIDAPI library.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue