On Wed, Jun 04, 2008 at 10:03:06PM +0000, Jacob Meuser wrote:

> anyway, I'm pretty sure that's not what's causing the problem.  exactly
> what is, I don't know yet.

apparently SDL expects artsd to be suspended, which doesn't happen
if the optional -s flag is not used when starting artsd.

this works for me.  let me know if this works for you.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: Makefile
===================================================================
RCS file: /home/cvs/OpenBSD/ports/devel/sdl/Makefile,v
retrieving revision 1.64
diff -u -r1.64 Makefile
--- Makefile    20 Mar 2008 22:00:15 -0000      1.64
+++ Makefile    5 Jun 2008 04:54:18 -0000
@@ -4,7 +4,7 @@
 
 VERSION=       1.2.13
 DISTNAME=      SDL-${VERSION}
-PKGNAME=       ${DISTNAME:L}p3
+PKGNAME=       ${DISTNAME:L}p4
 CATEGORIES=    devel
 
 HOMEPAGE=      http://www.libsdl.org/
Index: patches/patch-src_audio_arts_SDL_artsaudio_c
===================================================================
RCS file: 
/home/cvs/OpenBSD/ports/devel/sdl/patches/patch-src_audio_arts_SDL_artsaudio_c,v
retrieving revision 1.1
diff -u -r1.1 patch-src_audio_arts_SDL_artsaudio_c
--- patches/patch-src_audio_arts_SDL_artsaudio_c        19 Mar 2008 13:33:29 
-0000      1.1
+++ patches/patch-src_audio_arts_SDL_artsaudio_c        5 Jun 2008 04:54:18 
-0000
@@ -1,7 +1,15 @@
 $OpenBSD: patch-src_audio_arts_SDL_artsaudio_c,v 1.1 2008/03/19 13:33:29 
jakemsr Exp $
 --- src/audio/arts/SDL_artsaudio.c.orig        Sun Dec 30 20:47:57 2007
-+++ src/audio/arts/SDL_artsaudio.c     Mon Mar 10 00:04:32 2008
-@@ -307,29 +307,21 @@ static int ARTS_OpenAudio(_THIS, SDL_AudioSpec *spec)
++++ src/audio/arts/SDL_artsaudio.c     Wed Jun  4 21:47:58 2008
+@@ -145,6 +145,7 @@ static int Audio_Available(void)
+                       available = 1;
+               }
+               SDL_NAME(arts_free)();
++              available = 1;
+       }
+       UnloadARTSLibrary();
+ 
+@@ -307,29 +308,21 @@ static int ARTS_OpenAudio(_THIS, SDL_AudioSpec *spec)
                SDL_SetError("Unable to initialize ARTS: %s", 
SDL_NAME(arts_error_text)(error_code));
                return(-1);
        }

Reply via email to