From 22f703cab05b7cd368f4de9e03991b7664dc5022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 13:56:46 +0200 Subject: Initial import of argyll version 1.5.1-8 --- debian/patches/03_kfreebsd.diff | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 debian/patches/03_kfreebsd.diff (limited to 'debian/patches/03_kfreebsd.diff') 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; -- cgit v1.2.3