diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-04-02 19:44:53 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-04-02 19:44:53 +0800 |
commit | 531ce5d57ee6c3f10445dd6f309c9ac507cb44b1 (patch) | |
tree | bbe68eeed39d8dbabaa4988ebb292444707adab0 /palm/pilot-link | |
parent | 0b021782002df20d53da8ffbeaf9f55611db3b48 (diff) | |
download | freebsd-ports-gnome-531ce5d57ee6c3f10445dd6f309c9ac507cb44b1.tar.gz freebsd-ports-gnome-531ce5d57ee6c3f10445dd6f309c9ac507cb44b1.tar.zst freebsd-ports-gnome-531ce5d57ee6c3f10445dd6f309c9ac507cb44b1.zip |
- Fix build on CURRENT with new USB stack
PR: 132265
Submitted by: Mel Flynn <mel at rachie dot is-a-geek dot net>
Approved by: Alex Samorukov <samm at os2 dot kiev dot ua> (maintainer)
Diffstat (limited to 'palm/pilot-link')
-rw-r--r-- | palm/pilot-link/files/patch-libpisock_freebsdusb.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/palm/pilot-link/files/patch-libpisock_freebsdusb.c b/palm/pilot-link/files/patch-libpisock_freebsdusb.c new file mode 100644 index 000000000000..e6d9a5e5b8cd --- /dev/null +++ b/palm/pilot-link/files/patch-libpisock_freebsdusb.c @@ -0,0 +1,15 @@ +--- libpisock/freebsdusb.c.orig 2006-10-12 06:21:22.000000000 -0800 ++++ libpisock/freebsdusb.c 2009-03-02 10:06:01.000000000 -0900 +@@ -48,7 +48,12 @@ + + #if defined(__FreeBSD__) + /* freebsd usb header */ ++#include <sys/param.h> ++#if __FreeBSD_version+0 >= 800064 ++#include <legacy/dev/usb/usb.h> ++#else + #include <dev/usb/usb.h> ++#endif + #define MAX_BUF 256 + #endif + |