libusb 1.0 API has an empty #define LIBUSB_CALL Described here: http://git.libusb.org/?p=libusb.git;a=blob;f=libusb/libusb.h;hb=7634714aa696175b08016b6f2185a75a2f55a113;js=1#l100 Implemented here: http://libusb.sourceforge.net/api-1.0/group__misc.html#gaa7d6035eb2692d455d27144560a0f68d Cross platform applications need LIBUSB_CALL, even if it is empty. Fix: Add #define LIBUSB_CALL to one of the libusb headers (maybe libusb10.h?)
Author: hselasky Date: Sun May 25 18:06:32 2014 New Revision: 266664 URL: http://svnweb.freebsd.org/changeset/base/266664 Log: Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API from sourceforge. PR: usb/190204 MFC after: 1 week Modified: head/lib/libusb/libusb.h Modified: head/lib/libusb/libusb.h ============================================================================== --- head/lib/libusb/libusb.h Sun May 25 18:06:28 2014 (r266663) +++ head/lib/libusb/libusb.h Sun May 25 18:06:32 2014 (r266664) @@ -33,6 +33,8 @@ #include <sys/types.h> #endif +#define LIBUSB_CALL + #ifdef __cplusplus extern "C" { #endif _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
A commit references this bug: Author: hselasky Date: Wed Jun 4 10:40:43 UTC 2014 New revision: 267047 URL: http://svnweb.freebsd.org/changeset/base/267047 Log: MFC r266664: Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API from sourceforge. PR: usb/190204 Changes: _U stable/10/ stable/10/lib/libusb/libusb.h
A commit references this bug: Author: hselasky Date: Wed Jun 4 10:42:05 UTC 2014 New revision: 267048 URL: http://svnweb.freebsd.org/changeset/base/267048 Log: MFC r266664: Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API from sourceforge. PR: usb/190204 Changes: _U stable/8/lib/ _U stable/8/lib/libusb/ stable/8/lib/libusb/libusb.h
A commit references this bug: Author: hselasky Date: Wed Jun 4 13:42:19 UTC 2014 New revision: 267055 URL: http://svnweb.freebsd.org/changeset/base/267055 Log: MFC r266664: Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API from sourceforge. PR: usb/190204 Approved by: re, gjb @ Changes: _U stable/9/lib/libusb/ stable/9/lib/libusb/libusb.h
Close PRs that have a corresponding commit to resolve the issue.