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

Thierry Thomas thierry at pompo.net
Thu Oct 2 23:00:33 UTC 2003


The following reply was made to PR ports/57475; it has been noted by GNATS.

From: Thierry Thomas <thierry at pompo.net>
To: FreeBSD-gnats-submit at 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 at 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.



More information about the freebsd-ports-bugs mailing list