Petr Salinger wrote:
> Package: hal
> Version: 0.5.13-6
> Severity: important
> Tags: patch
> User: [email protected]
> Usertags: kfreebsd
> the current version fails to build on GNU/kFreeBSD with 8.x kernel
> The FreeBSD 8.0 kernel introduces a new USB stack with a totally
> different API. The upstream used to have during 8.0 development
> old USB stack in , we decided to provide it too.
> To solve current FTBFS for 0.5.13 series please just use patch bellow.
I tried this patch with 0.5.13 but I get
make: Entering directory `/tmp/hal-0.5.13/hald/freebsd/probing'
cc -DHAVE_CONFIG_H -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/etc"\"
-I../../.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -Wall
-Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith
-Wcast-align -Wsign-compare -c probe-hiddev.c
probe-hiddev.c:32:32: error: legacy/dev/usb/usb.h: No such file or
probe-hiddev.c: In function 'main':
probe-hiddev.c:70: error: 'USB_GET_REPORT_ID' undeclared (first use in this
probe-hiddev.c:70: error: (Each undeclared identifier is reported only once
probe-hiddev.c:70: error: for each function it appears in.)
make: *** [probe-hiddev.o] Error 1
Do I need to adjust the build dependencies, too?
Regarding 0.5.14 (which I plan to upload soon): Do you want me to enable
usb2 backend (given we get it to compile) or the old usb backend?
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?