Date: 18 Apr 2002 11:10:37 -0000 From: Jochem Kossen <jk@ezunix.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sobomax@FreeBSD.org Subject: ports/37223: devel/sdl12 1.2.4 broken (includes patch to fix) Message-ID: <20020418111037.55828.qmail@yazzy.org>
next in thread | raw e-mail | index | archive | help
>Number: 37223 >Category: ports >Synopsis: devel/sdl12 1.2.4 broken (includes patch to fix) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 18 04:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jochem Kossen >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD CC40670-a.groni1.gr.nl.home.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Apr 15 22:29:56 CEST 2002 root@lisa.CC40670-a.groni1.gr.nl.home.com:/usr/obj/usr/src/sys/LOLA i386 >Description: When building devel/sdl12 1.2.4, it fails with these messages: DL_sysjoystick.c: In function `SDL_SYS_JoystickUpdate': SDL_sysjoystick.c:275: warning: `naxe' might be used uninitialized in this function SDL_sysjoystick.c: In function `report_alloc': SDL_sysjoystick.c:385: incompatible type for argument 3 of `hid_report_size' *** Error code 1 >How-To-Repeat: cd /usr/ports/devel/sdl12 make >Fix: --- patch-sdl1.2.4 begins here --- diff -ruN sdl12.orig/files/patch-src::joystick::bsd::SDL_sysjoystick.c sdl12/files/patch-src::joystick::bsd::SDL_sysjoystick.c --- sdl12.orig/files/patch-src::joystick::bsd::SDL_sysjoystick.c Wed Apr 17 14:35:50 2002 +++ sdl12/files/patch-src::joystick::bsd::SDL_sysjoystick.c Thu Apr 18 11:09:04 2002 @@ -1,8 +1,5 @@ - -$FreeBSD: ports/devel/sdl12/files/patch-src::joystick::bsd::SDL_sysjoystick.c,v 1.1 2002/04/17 12:35:50 sobomax Exp $ - ---- src/joystick/bsd/SDL_sysjoystick.c 2002/04/17 11:06:43 1.1 -+++ src/joystick/bsd/SDL_sysjoystick.c 2002/04/17 11:20:41 +--- src/joystick/bsd/SDL_sysjoystick.c.orig Sun Mar 10 04:49:25 2002 ++++ src/joystick/bsd/SDL_sysjoystick.c Thu Apr 18 11:06:35 2002 @@ -41,7 +41,7 @@ #include <dev/usb/usb.h> @@ -54,7 +51,7 @@ int len; - len = hid_report_size(rd, repinfo[repind].kind, &r->rid); -+ len = hid_report_size(rd, r->rid, repinfo[repind].kind); ++ len = hid_report_size(rd, repinfo[repind].kind, r->rid); if (len < 0) { SDL_SetError("Negative HID report size"); return (-1); --- patch-sdl1.2.4 ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020418111037.55828.qmail>