diff --git a/package/rene/esound/esound-alsa-pcm-newapi.patch b/package/rene/esound/esound-alsa-pcm-newapi.patch new file mode 100644 index 000000000..5f0ed4171 --- /dev/null +++ b/package/rene/esound/esound-alsa-pcm-newapi.patch @@ -0,0 +1,43 @@ +**** This patch should be removed when updating to esound >0.2.32 +**** +**** patch by Łukasz Mach +**** released under the GPL license +**** +**** updates to the new alsa pcm api used since 0.9.0_rc4 +**** (http://bugzilla.gnome.org/show_bug.cgi?id=129709) + +--- ../esound-0.2.32.orig/audio_alsa09.c Thu Mar 20 09:34:19 2003 ++++ ./audio_alsa09.c Sat Dec 20 03:01:11 2003 +@@ -136,15 +136,17 @@ + alsaerr = -1; + return handle; + } +- +- err = snd_pcm_hw_params_set_rate_near(handle, hwparams, speed, 0); ++ ++ int t_dir=0; ++ int t_speed=speed; ++ err = snd_pcm_hw_params_set_rate_near(handle, hwparams, &t_speed, &t_dir); + if (err < 0) { + if (alsadbg) + fprintf(stderr, "%s\n", snd_strerror(err)); + alsaerr = -1; + return handle; + } +- if (err != speed) { ++ if (t_speed != speed) { + if (alsadbg) + fprintf(stderr, "Rate not avaliable %i != %i\n", speed, err); + alsaerr = -1; +@@ -176,8 +178,9 @@ + alsaerr = -1; + return handle; + } +- +- err = snd_pcm_hw_params_set_buffer_size_near(handle, hwparams, BUFFERSIZE); ++ ++ snd_pcm_uframes_t t_bufsize=BUFFERSIZE; ++ err = snd_pcm_hw_params_set_buffer_size_near(handle, hwparams, &t_bufsize); + if (err < 0) { + if (alsadbg) + fprintf(stderr, "Buffersize:%s\n", snd_strerror(err)); diff --git a/package/rene/esound/esound.desc b/package/rene/esound/esound.desc index d6b90df05..70c2923a0 100644 --- a/package/rene/esound/esound.desc +++ b/package/rene/esound/esound.desc @@ -33,8 +33,8 @@ [L] GPL [S] Stable -[V] 0.2.31 +[V] 0.2.32 [P] X -----5---9 209.000 -[D] 3554980958 esound-0.2.31.tar.bz2 ftp://ftp.linux.org.uk/mirrors/ftp.gnome.org/sources/esound/0.2/ +[D] 2869999924 esound-0.2.32.tar.bz2 ftp://ftp.linux.org.uk/mirrors/ftp.gnome.org/sources/esound/0.2/ diff --git a/package/rene/xpdf/xpdf.desc b/package/rene/xpdf/xpdf.desc index b8a96667d..d23abccf5 100644 --- a/package/rene/xpdf/xpdf.desc +++ b/package/rene/xpdf/xpdf.desc @@ -35,9 +35,9 @@ [L] GPL [S] Stable -[V] 2.03 +[V] 3.00 [P] X -------7-9 373.000 -[D] 2146086023 xpdf-2.03.tar.gz ftp://ftp.foolabs.com/pub/xpdf/ +[D] 980943908 xpdf-3.00.tar.gz ftp://ftp.foolabs.com/pub/xpdf/ [D] 5395543 t1lib-1.3.tar.gz ftp://ftp.foolabs.com/pub/xpdf/