Date: Mon, 2 Mar 2009 10:18:57 -0900 (AKST) From: Mel Flynn <mel@rachie.is-a-geek.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: MAINTAINER <samm@os2.kiev.ua> Subject: ports/132265: [PATCH] Make pilot-link work on recent -CURRENT Message-ID: <20090302191858.00C1684445@smoochies.rachie.is-a-geek.net> Resent-Message-ID: <200903021920.n22JK4Qg036155@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132265 >Category: ports >Synopsis: [PATCH] Make pilot-link work on recent -CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 02 19:20:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mel Flynn >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD smoochies.wlan.rachie.is-a-geek.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sat Feb 28 17:05:35 AKST 2009 mel@smoochies.wlan.rachie.is-a-geek.net:/usr/obj/usr/src/sys/SMOOCHIES i386 >Description: pilot-link fails to compile with new USB stack >How-To-Repeat: On -CURRENT after usb2 import, make -C /usr/ports/palm/pilot-link build >Fix: New file in files/ --- patch-libpisock%freebsdusb.c begins here --- --- 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 --- patch-libpisock%freebsdusb.c ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090302191858.00C1684445>