Bug#659615: patch for FTBFS

Robert Millan rmh at debian.org
Wed Feb 15 20:33:39 UTC 2012


tags 659615 patch
thanks

Here's a patch.  I've already submitted it upstream.

-- 
Robert Millan
-------------- next part --------------
=== modified file 'src/joystick/bsd/SDL_sysjoystick.c'
--- src/joystick/bsd/SDL_sysjoystick.c	2012-02-15 20:20:08 +0000
+++ src/joystick/bsd/SDL_sysjoystick.c	2012-02-15 20:21:01 +0000
@@ -148,7 +148,7 @@ static char *joydevnames[MAX_JOYS];
 static int	report_alloc(struct report *, struct report_desc *, int);
 static void	report_free(struct report *);
 
-#if defined(USBHID_UCR_DATA) || defined(__FreeBSD_kernel__)
+#if defined(USBHID_UCR_DATA)
 #define REP_BUF_DATA(rep) ((rep)->buf->ucr_data)
 #elif (defined(__FREEBSD__) && (__FreeBSD_kernel_version > 800063))
 #define REP_BUF_DATA(rep) ((rep)->buf->ugd_data)


More information about the Pkg-sdl-maintainers mailing list