From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 2 17:10:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4B601065674 for ; Mon, 2 Mar 2009 17:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 945848FC1D for ; Mon, 2 Mar 2009 17:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n22HA2rG036471 for ; Mon, 2 Mar 2009 17:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n22HA20B036470; Mon, 2 Mar 2009 17:10:02 GMT (envelope-from gnats) Resent-Date: Mon, 2 Mar 2009 17:10:02 GMT Resent-Message-Id: <200903021710.n22HA20B036470@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mel Flynn Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F74E10656CA for ; Mon, 2 Mar 2009 17:08:12 +0000 (UTC) (envelope-from mel@smoochies.rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id F095D8FC22 for ; Mon, 2 Mar 2009 17:08:11 +0000 (UTC) (envelope-from mel@smoochies.rachie.is-a-geek.net) Received: from smoochies.rachie.is-a-geek.net (smoochies.rachie.is-a-geek.net [192.168.1.50]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 7FD3CAFC1FE; Mon, 2 Mar 2009 08:08:11 -0900 (AKST) Received: by smoochies.rachie.is-a-geek.net (Postfix, from userid 1003) id 5C85184445; Mon, 2 Mar 2009 08:08:10 -0900 (AKST) Message-Id: <20090302170811.5C85184445@smoochies.rachie.is-a-geek.net> Date: Mon, 2 Mar 2009 08:08:10 -0900 (AKST) From: Mel Flynn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: MAINTAINER Subject: ports/132262: [PATCH] Make graphics/sane-backends work on -CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 17:10:03 -0000 >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 +#if __FreeBSD_version+0 >= 800064 +#include +#else #include +#endif #endif /* __FreeBSD__ */ #if defined (__DragonFly__) #include --- patch-sanei_sanei_usb.c ends here --- >Release-Note: >Audit-Trail: >Unformatted: