From owner-freebsd-ports Thu Apr 18 4:20:13 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 35FCE37B405 for ; Thu, 18 Apr 2002 04:20:08 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3IBK2v68401; Thu, 18 Apr 2002 04:20:02 -0700 (PDT) (envelope-from gnats) Received: from yazzy.org (yazzy.org [217.8.140.3]) by hub.freebsd.org (Postfix) with ESMTP id 9ED7137B417 for ; Thu, 18 Apr 2002 04:10:39 -0700 (PDT) Received: (qmail 55829 invoked by uid 1007); 18 Apr 2002 11:10:37 -0000 Message-Id: <20020418111037.55828.qmail@yazzy.org> Date: 18 Apr 2002 11:10:37 -0000 From: Jochem Kossen Reply-To: Jochem Kossen To: FreeBSD-gnats-submit@FreeBSD.org Cc: sobomax@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/37223: devel/sdl12 1.2.4 broken (includes patch to fix) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 @@ -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