diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
commit | 22f703cab05b7cd368f4de9e03991b7664dc5022 (patch) | |
tree | 6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /debian/patches/03_kfreebsd.diff |
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to 'debian/patches/03_kfreebsd.diff')
-rw-r--r-- | debian/patches/03_kfreebsd.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/03_kfreebsd.diff b/debian/patches/03_kfreebsd.diff new file mode 100644 index 0000000..bbe7e5d --- /dev/null +++ b/debian/patches/03_kfreebsd.diff @@ -0,0 +1,22 @@ +--- a/spectro/usbio.c ++++ b/spectro/usbio.c +@@ -203,10 +203,6 @@ struct _icoms *p + #ifdef ENABLE_USB + struct usb_bus *bus; + +- /* Check that we've got an up to date version of libusb */ +- if (usb_argyll_patched() < 2) +- error("usblib isn't up to date to work with this version of Argyll"); +- + if (p->debug > 8) + usb_set_debug(p->debug); + +@@ -738,7 +734,7 @@ char **pnames /* List of process names + if (libusb_get_device_descriptor(p->ppath->dev, &descriptor) != LIBUSB_SUCCESS) + error("Get device descriptor on USB port '%s' failed with %d (%s)",p->ppath->path,rv,libusb_strerror(rv)); + #else +- descriptor = dev->descriptor; /* Copy */ ++ descriptor = p->ppath->dev->descriptor; /* Copy */ + #endif + + p->vid = p->ppath->vid; |