diff options
author | miwi <miwi@FreeBSD.org> | 2009-04-16 17:01:28 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-04-16 17:01:28 +0800 |
commit | 298d8de5c7a00929366aef0d2170b7f37920408f (patch) | |
tree | 6762dfeb6b735036818f6ba347e9b6d39955096c /misc | |
parent | 6482c685246820083b9a90c4faebae0a19d7465f (diff) | |
download | freebsd-ports-gnome-298d8de5c7a00929366aef0d2170b7f37920408f.tar.gz freebsd-ports-gnome-298d8de5c7a00929366aef0d2170b7f37920408f.tar.zst freebsd-ports-gnome-298d8de5c7a00929366aef0d2170b7f37920408f.zip |
- Fix build with new usb2
PR: 133092
Submitted by: Scot Hetzel <swhetzel@gmail.com>
Approved by: portmgr (joe)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/kdeedu3/files/patch-kstars-indi-fli_libfli-usb-sys-bsd.c | 19 |
1 files changed, 19 insertions, 0 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 new file mode 100644 index 000000000000..16819bf595e4 --- /dev/null +++ b/misc/kdeedu3/files/patch-kstars-indi-fli_libfli-usb-sys-bsd.c @@ -0,0 +1,19 @@ + +--- 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 @@ + + */ + ++#include <sys/param.h> + #include <sys/types.h> ++#if __FreeBSD_version > 800061 ++#include <legacy/dev/usb/usb.h> ++#else + #include <dev/usb/usb.h> ++#endif + #include <sys/ioctl.h> + + #include <unistd.h> + + |