Index: head/audio/sdl_mixer/Makefile =================================================================== --- head/audio/sdl_mixer/Makefile (revision 42390) +++ head/audio/sdl_mixer/Makefile (revision 42391) @@ -1,32 +1,33 @@ # New ports collection makefile for: sdl_mixer # Date created: 24 April 2000 # Whom: Maxim Sobolev # # $FreeBSD$ # PORTNAME= sdl_mixer PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/ DISTNAME= SDL_mixer-${PORTVERSION} MAINTAINER= sobomax@FreeBSD.org LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \ smpeg.1:${PORTSDIR}/graphics/smpeg \ vorbis.0:${PORTSDIR}/audio/libvorbis SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config USE_LIBTOOL= yes USE_GMAKE= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ CPPFLAGS="-I${X11BASE}/include" post-configure: @${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ ${WRKSRC}/libtool .include Property changes on: head/audio/sdl_mixer/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/audio/sdl_mixer/files/patch-SDL_mixer.h =================================================================== --- head/audio/sdl_mixer/files/patch-SDL_mixer.h (nonexistent) +++ head/audio/sdl_mixer/files/patch-SDL_mixer.h (revision 42391) @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- SDL_mixer.h 2001/05/08 07:44:56 1.1 ++++ SDL_mixer.h 2001/05/08 07:48:13 +@@ -222,6 +222,8 @@ + /* Close the mixer, halting all playing audio */ + extern DECLSPEC void Mix_CloseAudio(void); + ++extern DECLSPEC int Mix_GetMixerInfo(SDL_AudioSpec *, char *, int); ++ + /* We'll use SDL for reporting errors */ + #define Mix_SetError SDL_SetError + #define Mix_GetError SDL_GetError Property changes on: head/audio/sdl_mixer/files/patch-SDL_mixer.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/audio/sdl_mixer/files/patch-mixer.c =================================================================== --- head/audio/sdl_mixer/files/patch-mixer.c (nonexistent) +++ head/audio/sdl_mixer/files/patch-mixer.c (revision 42391) @@ -0,0 +1,24 @@ + +$FreeBSD$ + +--- mixer.c 2001/05/08 07:44:26 1.1 ++++ mixer.c 2001/05/08 07:47:09 +@@ -865,3 +865,18 @@ + } + return(chan); + } ++ ++int Mix_GetMixerInfo(SDL_AudioSpec *m, char *namebuf, int maxlen) ++{ ++ if (!audio_opened) ++ return -1; ++ if (m) ++ *m = mixer; /* struct copy */ ++ if (namebuf && maxlen > 0) ++ { ++ namebuf[0] = 0; ++ if (SDL_AudioDriverName(namebuf, maxlen) == NULL) ++ namebuf[0] = 0; ++ } ++ return 0; ++} Property changes on: head/audio/sdl_mixer/files/patch-mixer.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property