ports/132686: x11/kdebase3 does not build on -CURRENT

Michiel Boland michiel at boland.org
Mon Mar 16 05:40:05 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list