Re: Temporary patch to fix USB in kdebase4

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Thu, 2 Jul 2009 17:00:37 +0200
On Thursday 02 July 2009 16:52:49 Lawrence Stewart wrote:
> Hans Petter Selasky wrote:
> > See attachment.
> > --HPS
>
> Any chance you (or someone with the right clue) could update this patch
> to work with more recent 8-CURRENT? I get the following output when
> trying to compile kdebase4 (which applies your original patch as
> extra-patch-libusb20) on r195046 world/kernel:
>
>
> Scanning dependencies of target kcm_usb
>
> [ 67%] Building CXX object
> apps/kinfocenter/usbview/CMakeFiles/kcm_usb.dir/kcm_usb_automoc.o
> [ 67%] Building CXX object
> apps/kinfocenter/usbview/CMakeFiles/kcm_usb.dir/kcmusb.o
> In file included from
> /usr/ports/x11/kdebase4/work/kdebase-4.2.4/apps/kinfocenter/usbview/usbdevi
>ces.h:20,
>
>

Hi,

It looks like you have two set of header files. Second, change the USB "dev/"  
header files to:

#  include <dev/usb/usb.h>
#  include <dev/usb/usbdi.h>

Else there are no further changes.

--HPS
Received on Thu Jul 02 2009 - 13:01:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC