Hello community, here is the log from the commit of package alsa checked in at Fri Feb 15 01:09:30 CET 2008. -------- --- alsa/alsa.changes 2008-02-08 12:18:30.000000000 +0100 +++ /mounts/work_src_done/STABLE/alsa/alsa.changes 2008-02-13 12:49:56.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Feb 13 12:51:30 CET 2008 - tiwai@suse.de + +- fix the build of old programs that don't define *_OLD_API + properly + +------------------------------------------------------------------- New: ---- alsa-lib-hg-fixes.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alsa.spec ++++++ --- /var/tmp/diff_new_pack.v29955/_old 2008-02-15 01:09:20.000000000 +0100 +++ /var/tmp/diff_new_pack.v29955/_new 2008-02-15 01:09:20.000000000 +0100 @@ -10,6 +10,7 @@ # norootforbuild + Name: alsa BuildRequires: doxygen %define package_version 1.0.16 @@ -21,7 +22,7 @@ AutoReqProv: on Summary: Advanced Linux Sound Architecture Version: 1.0.16 -Release: 8 +Release: 10 Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2 Source8: 40-alsa.rules Source11: alsasound @@ -36,7 +37,7 @@ Source31: all_notes_off.bin Source32: all_notes_off.mid Source33: alsa-info.sh -# Patch: alsa-lib-hg-fixes.diff +Patch: alsa-lib-hg-fixes.diff Url: http://www.alsa-project.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -108,7 +109,7 @@ %prep %setup -q -n alsa-lib-%{package_version} -# %patch -p1 +%patch -p1 %build # build alsa-lib @@ -249,6 +250,9 @@ %{_datadir}/alsa %changelog +* Wed Feb 13 2008 tiwai@suse.de +- fix the build of old programs that don't define *_OLD_API + properly * Fri Feb 08 2008 tiwai@suse.de - updated to version 1.0.16-final: * just a version bump ++++++ alsa-lib-hg-fixes.diff ++++++ diff -r b1dfac5a4d55 include/pcm.h --- a/include/pcm.h Tue Feb 05 10:08:09 2008 +0100 +++ b/include/pcm.h Wed Feb 13 12:48:53 2008 +0100 @@ -1105,6 +1105,8 @@ int snd_pcm_sw_params_get_xfer_align(con int snd_pcm_sw_params_get_xfer_align(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val) __attribute__((deprecated)); int snd_pcm_sw_params_set_sleep_min(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, unsigned int val) __attribute__((deprecated)); int snd_pcm_sw_params_get_sleep_min(const snd_pcm_sw_params_t *params, unsigned int *val) __attribute__((deprecated)); +#endif /* !ALSA_LIBRARY_BUILD && !ALSA_PCM_OLD_SW_PARAMS_API */ +#if !defined(ALSA_LIBRARY_BUILD) && !defined(ALSA_PCM_OLD_HW_PARAMS_API) int snd_pcm_hw_params_get_tick_time(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) __attribute__((deprecated)); int snd_pcm_hw_params_get_tick_time_min(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) __attribute__((deprecated)); int snd_pcm_hw_params_get_tick_time_max(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) __attribute__((deprecated)); @@ -1116,7 +1118,7 @@ int snd_pcm_hw_params_set_tick_time_near int snd_pcm_hw_params_set_tick_time_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) __attribute__((deprecated)); int snd_pcm_hw_params_set_tick_time_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) __attribute__((deprecated)); int snd_pcm_hw_params_set_tick_time_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) __attribute__((deprecated)); -#endif /* !ALSA_LIBRARY_BUILD && !ALSA_PCM_OLD_SW_PARAMS_API */ +#endif /* !ALSA_LIBRARY_BUILD && !ALSA_PCM_OLD_HW_PARAMS_API */ /** \} */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org