diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-05-23 06:55:24 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-05-23 06:55:24 +0800 |
commit | 38d9a971d5cd58018023fa711261e1b0c32af581 (patch) | |
tree | 24bc414f9bcda2f44c2c5cd28e239009570d6238 /devel | |
parent | 8ff8317205adb521302e647747f668a3cbc7f0fc (diff) | |
download | freebsd-ports-gnome-38d9a971d5cd58018023fa711261e1b0c32af581.tar.gz freebsd-ports-gnome-38d9a971d5cd58018023fa711261e1b0c32af581.tar.zst freebsd-ports-gnome-38d9a971d5cd58018023fa711261e1b0c32af581.zip |
Unbreak on pre-4.8.
PR: 52174
Submitted by: osa
Diffstat (limited to 'devel')
-rw-r--r-- | devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c | 2 |
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); |