Re: ports/57475: devel/sdl12: upgrading to 1.2.6 + some fixes.

[ Available lists | Index of freebsd-ports-bugs | Month of Oct 2003 | Week of 2 Oct 2003 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Thierry Thomas <thierry@pompo.net>
Date
2 Oct 2003 16:00:33
Subject
Re: ports/57475: devel/sdl12: upgrading to 1.2.6 + some fixes.
Message-ID
200310022300.h92N0WJ1064084@freefall.freebsd.org

Replies
Referenced by

[ Hide this part ]
The following reply was made to PR ports/57475; it has been noted by GNATS.

From: Thierry Thomas <thierry@pompo.net>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:
Subject: Re: ports/57475: devel/sdl12: upgrading to 1.2.6 + some fixes.
Date: Fri, 3 Oct 2003 00:24:36 +0200

Le Mer 1 oct 03 22:14:37 +0200, Thierry Thomas <thierry@pompo.net>
crivait:
>
> >Number: 57475
> >Category: ports
> >Synopsis: devel/sdl12: upgrading to 1.2.6 + some fixes.

...

> Removed files:
> - devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c
> - devel/sdl12/files/patch-src::video::SDL_stretch.c

devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c was mostly
included in this version, but there remains a problem: the joystick
must be opened in read only. With the following patch, it works:

--- devel/sdl12/files/patch-src::joystick::bsd::SDL_sysjoystick.c begins here ---
--- src/joystick/bsd/SDL_sysjoystick.c.orig Sat Aug 30 21:13:05 2003
+++ src/joystick/bsd/SDL_sysjoystick.c Thu Oct 2 23:18:12 2003
@@ -234,7 +234,7 @@
struct report *rep;
int fd;

- fd = open(path, O_RDWR);
+ fd = open(path, O_RDONLY);
if (fd == -1) {
SDL_SetError("%s: %s", path, strerror(errno));
return (-1);
--- devel/sdl12/files/patch-src::joystick::bsd::SDL_sysjoystick.c ends here ---

Thanks.
--
Th. Thomas.


Elapsed time: 0.132 seconds