Re: audio/mikmod: fix bug causing ri-li crash

2013-01-09 Thread Stuart Henderson
On 2012/12/31 01:50, Stefan Sperling wrote: Perhaps mikmod should be updated but I'd rather just fix this for now. updated to 3.2.0 here, some of the patches were rolled in, and I've added a comment in patches for the remaining ones where it's not obvious. Index: Makefile

Re: audio/mikmod: fix bug causing ri-li crash

2013-01-09 Thread Stefan Sperling
On Thu, Jan 10, 2013 at 12:37:54AM +, Stuart Henderson wrote: On 2012/12/31 01:50, Stefan Sperling wrote: Perhaps mikmod should be updated but I'd rather just fix this for now. updated to 3.2.0 here, some of the patches were rolled in, and I've added a comment in patches for the

Re: audio/mikmod: fix bug causing ri-li crash

2013-01-09 Thread Tobias Ulmer
On Thu, Jan 10, 2013 at 02:00:08AM +0100, Stefan Sperling wrote: On Thu, Jan 10, 2013 at 12:37:54AM +, Stuart Henderson wrote: On 2012/12/31 01:50, Stefan Sperling wrote: Perhaps mikmod should be updated but I'd rather just fix this for now. updated to 3.2.0 here, some of the

Re: audio/mikmod: fix bug causing ri-li crash

2013-01-09 Thread Tobias Ulmer
Take two: Fix MDRIVER initialisation, add help text. Sndio_PlayStop must call sio_stop(), otherwise mikmod playback stops after one tune. Tested with mikmod using sndio/wav drivers on amd64/sparc64. I did not check port depends. With the fix below, ok tobiasu@ Index: files/drv_sndio.c

audio/mikmod: fix bug causing ri-li crash

2012-12-30 Thread Stefan Sperling
games/ri-li crashes when a game is started because our libmikmod port is missing a fix which is already present in the upstream code. Perhaps mikmod should be updated but I'd rather just fix this for now. The crash happens because of.samples is NULL when dereferenced. While here, make this port