Since the switch to the new usb stack misc/kdeedu3 fails to build due to undefined USB_SET_TIMEOUT. Fix: The attached patch adds an include for legacy/dev/usb/usb.h to kstars/kstars/indi/fli/libfli-usb-sys-bsd.c. Patch attached with submission follows: How-To-Repeat: cd /usr/ports/misc/kdeedu3 make build /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../.. -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -I/usr/local/include -DNDEBUG -O2 -O2 -pipe -fno-strict-aliasing -MT libfli-usb-sys-bsd.lo -MD -MP -MF .deps/libfli-usb-sys-bsd.Tpo -c -o libfli-usb-sys-bsd.lo libfli-usb-sys-bsd.c libfli-usb-sys-bsd.c: In function 'unix_usbverifydescriptor': libfli-usb-sys-bsd.c:69: warning: comparison between pointer and integer libfli-usb-sys-bsd.c:78: warning: comparison between pointer and integer libfli-usb-sys-bsd.c:89: warning: assignment makes integer from pointer without a cast libfli-usb-sys-bsd.c: In function 'bsd_bulkwrite': libfli-usb-sys-bsd.c:104: error: 'USB_SET_TIMEOUT' undeclared (first use in this function) libfli-usb-sys-bsd.c:104: error: (Each undeclared identifier is reported only once libfli-usb-sys-bsd.c:104: error: for each function it appears in.) libfli-usb-sys-bsd.c: In function 'bsd_bulkread': libfli-usb-sys-bsd.c:124: error: 'USB_SET_TIMEOUT' undeclared (first use in this function) gmake[5]: *** [libfli-usb-sys-bsd.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/misc/kdeedu3/work/kdeedu-3.5.10/kstars/kstars/indi/fli' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/misc/kdeedu3/work/kdeedu-3.5.10/kstars/kstars/indi' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/misc/kdeedu3/work/kdeedu-3.5.10/kstars/kstars' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/misc/kdeedu3/work/kdeedu-3.5.10/kstars' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/misc/kdeedu3/work/kdeedu-3.5.10' gmake: *** [all] Error 2 *** Error code 2
Responsible Changed From-To: freebsd-ports-bugs->kde Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
miwi 2009-04-16 09:01:28 UTC FreeBSD ports repository Added files: misc/kdeedu3/files patch-kstars-indi-fli_libfli-usb-sys-bsd.c Log: - Fix build with new usb2 PR: 133092 Submitted by: Scot Hetzel <swhetzel@gmail.com> Approved by: portmgr (joe) Revision Changes Path 1.1 +19 -0 ports/misc/kdeedu3/files/patch-kstars-indi-fli_libfli-usb-sys-bsd.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"