ports/132269: [PATCH] Disable joystick support on -CURRENT

Mel Flynn mel at rachie.is-a-geek.net
Mon Mar 2 21:50:04 UTC 2009


>Number:         132269
>Category:       ports
>Synopsis:       [PATCH] Disable joystick support on -CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 02 21:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Mel Flynn
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD smoochies.wlan.rachie.is-a-geek.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sat Feb 28 17:05:35 AKST 2009 mel at smoochies.wlan.rachie.is-a-geek.net:/usr/obj/usr/src/sys/SMOOCHIES i386


	
>Description:
sdl12 doesn't compile with the new USB stack. Additionally, there's no
easy fix, by including the legacy/dev/usb headers, as it also includes
<usbhid.h>, which is incompatible with the legacy version.

>How-To-Repeat:
Build sdl12 on -CURRENT after libusb2 import.

>Fix:
And this concludes our x11/kde4 dependencies flight. Thank you for flying
with USB Airlines and please remain seated till the patches are committed.

--- patch-devel%sdl12%Makefile begins here ---
--- devel/sdl12/Makefile.orig	2009-02-19 12:45:39.000000000 -0900
+++ devel/sdl12/Makefile	2009-03-02 12:26:41.000000000 -0900
@@ -64,6 +64,10 @@
 
 MAN3!=		${CAT} ${FILESDIR}/man3
 
+.if ${OSVERSION} > 800063
+CONFIGURE_ARGS+=--disable-joystick
+.endif
+
 .if defined(WITHOUT_AALIB)
 CONFIGURE_ARGS+=--disable-video-aalib
 .else
--- patch-devel%sdl12%Makefile ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list