With gcc, this is a silent downgrade from stdcall to cdecl. Not with
clang. Needed as the former is not compatible with variadic functions.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
llvm's dlltool/lld do not support --add-stdcall-alias, but libusb
already provided a .def file that said exactly what they wanted to be
exported from the DLL (and in fact regenerated their import lib from
it). Convince libtool to actually use that def file.
Also, remove no longer needed switch of platforms for dlltool.
From 1.0.21 libusb provides an alteranative to the regular WinUSB
backend called UsbDk, available from https://github.com/daynix/UsbDk .
This new backend allows to dynamically take control over any USB
device without removing the vendor driver.
The resulting libusb libraries have compatible binary APIs but are
mutually exclusive.
* upgrade some broken packages
* correct some broken urls/checksums
* use secure urls where possible
* update PKGBUILD templates
* remove line-ending whitespace
* minor typos/fixes
Remaining md5sums either didn't download or
didn't pass checksum tests.