From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 2 07:10:05 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 212F8106567D for ; Mon, 2 Mar 2009 07:10:05 +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 D6E098FC2A for ; Mon, 2 Mar 2009 07:10:04 +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 n227A4cu044574 for ; Mon, 2 Mar 2009 07:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n227A4LT044573; Mon, 2 Mar 2009 07:10:04 GMT (envelope-from gnats) Resent-Date: Mon, 2 Mar 2009 07:10:04 GMT Resent-Message-Id: <200903020710.n227A4LT044573@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 EEF15106568B; Mon, 2 Mar 2009 07:05:18 +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 C004B8FC1C; Mon, 2 Mar 2009 07:05:18 +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 86D44AFC1FE; Sun, 1 Mar 2009 21:46:59 -0900 (AKST) Received: by smoochies.rachie.is-a-geek.net (Postfix, from userid 1003) id 79E4384443; Sun, 1 Mar 2009 21:46:59 -0900 (AKST) Message-Id: <20090302064659.79E4384443@smoochies.rachie.is-a-geek.net> Date: Sun, 1 Mar 2009 21:46:59 -0900 (AKST) From: Mel Flynn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: MAINTAINER Subject: ports/132244: [PATCH] make kdebase4 compile 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 07:10:05 -0000 >Number: 132244 >Category: ports >Synopsis: [PATCH] make kdebase4 compile 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 07:10: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: kdebase4 fails to compile with new usb stack. >How-To-Repeat: Have -CURRENT after libusb20 commit and make -C /usr/ports/x11/kdebase4 build >Fix: This uses the legacy headers, proper fix should be upstream. NOTE: Since /usr/src/UPDATING doesn't mention the FreeBSD_version that marks usb2 import, I took a guess. --- patch-apps__kinfocenter__usbview__usbdevices.h begins here --- --- apps/kinfocenter/usbview/usbdevices.h.orig 2008-10-17 03:00:14.000000000 -0800 +++ apps/kinfocenter/usbview/usbdevices.h 2009-03-01 21:01:18.000000000 -0900 @@ -18,7 +18,12 @@ #include #include #elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) +#include +#if __FreeBSD_version+0 >= 800061 +#include +#else #include +#endif #include #endif --- patch-apps__kinfocenter__usbview__usbdevices.h ends here --- >Release-Note: >Audit-Trail: >Unformatted: