Please just fix ENODATA occurence, with updated libusb2-dev it suffices to build libgphoto2.Hmm, Steven claimed it would work with just the patched libusb.h.Sorry if I said/implied that; but I had applied Markus' ENODATA fix before testing for the other issue. So yes, both libusb2-dev and libphoto2 need fixes (in that order).
Exact order of fixing is not necessary. It is possible give-back libgphoto2 when fixed libusb2-dev will be in unstable. The ENODATA occurence have to be fixed. Petr