Date: Mon, 2 Mar 2009 08:08:10 -0900 (AKST) From: Mel Flynn <mel@rachie.is-a-geek.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: MAINTAINER <ports@FreeBSD.org> Subject: ports/132262: [PATCH] Make graphics/sane-backends work on -CURRENT Message-ID: <20090302170811.5C85184445@smoochies.rachie.is-a-geek.net> Resent-Message-ID: <200903021710.n22HA20B036470@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132262 >Category: ports >Synopsis: [PATCH] Make graphics/sane-backends work on -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 17:10:02 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: Use legacy usb until proper fix is done upstream. >How-To-Repeat: on -CURRENT after usb2 import, make -C /usr/ports/graphics/sane-backends build >Fix: New file to be added in files/ --- patch-sanei_sanei_usb.c begins here --- --- sanei/sanei_usb.c.orig 2007-11-15 23:46:32.000000000 -0900 +++ sanei/sanei_usb.c 2009-03-02 07:58:37.000000000 -0900 @@ -88,7 +88,12 @@ #endif /* HAVE_USBCALLS */ #if defined (__FreeBSD__) +#include <sys/param.h> +#if __FreeBSD_version+0 >= 800064 +#include <legacy/dev/usb/usb.h> +#else #include <dev/usb/usb.h> +#endif #endif /* __FreeBSD__ */ #if defined (__DragonFly__) #include <bus/usb/usb.h> --- patch-sanei_sanei_usb.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?20090302170811.5C85184445>