Bug 133092 - misc/kdeedu3: Fails to build on -Current - 'USB_SET_TIMEOUT' undeclared
Summary: misc/kdeedu3: Fails to build on -Current - 'USB_SET_TIMEOUT' undeclared
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 15:30 UTC by Scot Hetzel
Modified: 2009-04-16 11:00 UTC (History)
0 users

See Also:


Attachments
file.diff (400 bytes, patch)
2009-03-26 15:30 UTC, Scot Hetzel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scot Hetzel 2009-03-26 15:30:04 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-03-26 15:30:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2009-04-16 10:11:02 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-04-16 10:52:34 UTC
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"