diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 2009-07-15 12:59:37 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 2009-07-15 12:59:37 +0000 |
commit | 356acce1af23b325dac90b5962e08492eb764780 (patch) | |
tree | b57e20b8272456273803fd5d0f40a13884355ea7 /misc | |
parent | ddc44e44da52fdb1500c956860321076c640daf1 (diff) | |
download | ports-356acce1af23b325dac90b5962e08492eb764780.tar.gz ports-356acce1af23b325dac90b5962e08492eb764780.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/kdeedu3/files/patch-kstars-indi-fli_libfli-usb-sys-bsd.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/misc/kdeedu3/files/patch-kstars-indi-fli_libfli-usb-sys-bsd.c b/misc/kdeedu3/files/patch-kstars-indi-fli_libfli-usb-sys-bsd.c index 16819bf595e4..7ab94aa02706 100644 --- a/misc/kdeedu3/files/patch-kstars-indi-fli_libfli-usb-sys-bsd.c +++ b/misc/kdeedu3/files/patch-kstars-indi-fli_libfli-usb-sys-bsd.c @@ -1,19 +1,18 @@ - ---- kstars/kstars/indi/fli/libfli-usb-sys-bsd.c.orig 2005-09-10 03:17:35.000000000 -0500 -+++ kstars/kstars/indi/fli/libfli-usb-sys-bsd.c 2009-03-26 09:44:39.470081183 -0500 -@@ -41,8 +41,13 @@ +--- kstars/kstars/indi/fli/libfli-usb-sys-bsd.c.orig 2005-09-10 04:17:35.000000000 -0400 ++++ kstars/kstars/indi/fli/libfli-usb-sys-bsd.c 2009-07-06 17:12:21.000000000 -0400 +@@ -41,8 +41,15 @@ */ +#include <sys/param.h> #include <sys/types.h> -+#if __FreeBSD_version > 800061 -+#include <legacy/dev/usb/usb.h> ++#if __FreeBSD_version >= 800069 ++#include <libusb20.h> ++#include <dev/usb/usb_ioctl.h> ++#define USB_SET_TIMEOUT USB_SET_RX_TIMEOUT +#else #include <dev/usb/usb.h> +#endif #include <sys/ioctl.h> #include <unistd.h> - - |