Date: Sun, 15 Mar 2009 23:48:22 +0100 (CET) From: Michiel Boland <michiel@boland.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/132686: x11/kdebase3 does not build on -CURRENT Message-ID: <200903152248.n2FMmM7V047572@aja.boland.org> Resent-Message-ID: <200903160540.n2G5e3IC082806@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132686 >Category: ports >Synopsis: x11/kdebase3 does not build on -CURRENT >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 16 05:40:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Michiel Boland >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD aja.boland.org 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Mar 15 00:31:24 CET 2009 root@aja.boland.org:/usr/obj/usr/src/sys/AJA amd64 >Description: Port x11/kdebase3 fails to build with recent -CURRENT with usbdevices.h:69: error: 'usb_device_info' has not been declared >How-To-Repeat: cd /usr/ports/x11/kdebase3 make >Fix: Patch included below. FreeBSD_version is approximate. --- kcontrol/usbview/usbdevices.h.orig 2006-07-22 10:15:22.000000000 +0200 +++ kcontrol/usbview/usbdevices.h 2009-03-15 23:24:38.000000000 +0100 @@ -17,8 +17,13 @@ #include <qptrlist.h> #ifdef Q_OS_FREEBSD +#include <osreldate.h> +#if __FreeBSD_version >= 800069 +#include <legacy/dev/usb/usb.h> +#else #include <dev/usb/usb.h> #endif +#endif class USBDB; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903152248.n2FMmM7V047572>