summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-05-22 22:55:24 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-05-22 22:55:24 +0000
commit989c9fe00e59e3bab6f86435e1cf15177ded4bcf (patch)
tree5e1f9994e1965eaa86a71412ebfbf9b337987b8b /devel
parentIncluded into XFree86 and obsoleted. (diff)
Unbreak on pre-4.8.
PR: 52174 Submitted by: osa
Notes
Notes: svn path=/head/; revision=81741
Diffstat (limited to 'devel')
-rw-r--r--devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c b/devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c
index 2f2959be06f8..ee2ae32df19b 100644
--- a/devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c
+++ b/devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c
@@ -44,7 +44,7 @@
-#ifdef USBHID_NEW
+#ifdef __FreeBSD__
+# if (__FreeBSD_version >= 470000)
-+# if (__FreeBSD_version <= 500111)
++# if ((__FreeBSD_version <= 500111) && (__FreeBSD_version >= 480000))
+ len = hid_report_size(rd, r->rid, repinfo[repind].kind);
+# else
+ len = hid_report_size(rd, repinfo[repind].kind, r->rid);