fix getc/char abuse

This commit is contained in:
David Woodhouse 2005-04-28 16:23:13 +00:00
parent d0a435fe6d
commit d09c303136

View File

@ -1,7 +1,7 @@
Summary: The Advanced Linux Sound Architecture (ALSA) library. Summary: The Advanced Linux Sound Architecture (ALSA) library.
Name: alsa-lib Name: alsa-lib
Version: 1.0.9rc2 Version: 1.0.9rc2
Release: 1 Release: 2
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2 Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
@ -10,6 +10,7 @@ Patch0: alsa-lib-mixer.patch
Patch1: alsa-lib-alpha.patch Patch1: alsa-lib-alpha.patch
Patch2: alsa-lib-gcc4.patch Patch2: alsa-lib-gcc4.patch
Patch3: alsa-lib-ainit.patch Patch3: alsa-lib-ainit.patch
Patch4: alsa-lib-getc-returns-int.patch
URL: http://www.alsa-project.org/ URL: http://www.alsa-project.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: doxygen BuildRequires: doxygen
@ -41,6 +42,7 @@ against the ALSA libraries and interfaces.
%patch1 -p1 -b .alpha %patch1 -p1 -b .alpha
%patch2 -p1 -b .gcc4 %patch2 -p1 -b .gcc4
%patch3 -p1 -b .ainit %patch3 -p1 -b .ainit
%patch4 -p1 -b .getc
%build %build
%configure \ %configure \
@ -114,6 +116,9 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
%{_datadir}/aclocal/alsa.m4 %{_datadir}/aclocal/alsa.m4
%changelog %changelog
* Thu Apr 28 2005 David Woodhouse <dwmw2@redhat.com> 1.0.9rc2-2
- Fix bogus use of fgetc() in ainit. (#156278)
* Fri Apr 22 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-1 * Fri Apr 22 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-1
- updated to 1.0.9rc2 - updated to 1.0.9rc2
- add ainit tool - add ainit tool