head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.48 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.46 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.44 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.42 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.40 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.38 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.36 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.34 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.32 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.30 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.28 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.26 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.24 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.22 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.20 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.18 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.16 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.14 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.12 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.10 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.8 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.6 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.4 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.2 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.2 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2004.06.26.09.16.10; author grant; state dead; branches; next 1.3; 1.3 date 2003.07.28.09.52.31; author jmmv; state Exp; branches; next 1.2; 1.2 date 2001.06.28.21.29.30; author jlam; state dead; branches; next 1.1; 1.1 date 2000.10.15.08.48.33; author wulf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.10.15.08.48.33; author wulf; state Exp; branches; next ; desc @@ 1.4 log @move smpeg to multimedia/ @ text @$NetBSD: patch-aa,v 1.3 2003/07/28 09:52:31 jmmv Exp $ --- plaympeg.c.orig Tue Feb 4 15:59:22 2003 +++ plaympeg.c Tue Feb 4 15:59:48 2003 @@@@ -492,6 +492,7 @@@@ int fd; char buf[32]; int status; + int (*audio_init)(); /* Get the command line options */ use_audio = 1; @@@@ -600,7 +601,12 @@@@ } if ( use_audio ) { - if ((SDL_Init(SDL_INIT_AUDIO) < 0) || !SDL_AudioDriverName(buf, 1)) { + if ( use_video ) + audio_init = SDL_InitSubSystem; + else + audio_init = SDL_Init; + + if ((audio_init(SDL_INIT_AUDIO) < 0) || !SDL_AudioDriverName(buf, 1)) { fprintf(stderr, "Warning: Couldn't init SDL audio: %s\n", SDL_GetError()); fprintf(stderr, "Will ignore audio stream\n"); @ 1.3 log @Add patch to fix audio output problem in plaympeg. From soren@@blef.org in PR pkg/20204. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Use LTCONFIG_OVERRIDE instead of patching configure script. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2000/10/15 08:48:33 wulf Exp $ d3 7 a9 4 --- configure.orig Sun Oct 8 01:33:26 2000 +++ configure Sun Oct 8 01:33:38 2000 @@@@ -1916,7 +1916,7 @@@@ LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" d11 16 a26 6 # Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' +# LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Redirect the config.log output again, so that the ltconfig log is not # clobbered by the next message. @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of smpeg, the SDL MPEG player library @ text @@