Fix build against glibc2.10
This commit is contained in:
parent
a791f51bb3
commit
5c3e8058af
12
alsa-tools-1.0.20-glibc2.10.patch
Normal file
12
alsa-tools-1.0.20-glibc2.10.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
From http://article.gmane.org/gmane.linux.alsa.devel/63326
|
||||||
|
|
||||||
|
--- envy24control/strstr_icase_blank.c
|
||||||
|
+++ envy24control/strstr_icase_blank.c
|
||||||
|
@@ -48,7 +48,6 @@ int strstr_icase_blank(const char * const string1, const char * const string2)
|
||||||
|
char search_string[MAX_SEARCH_FIELD_LENGTH];
|
||||||
|
char *pstr;
|
||||||
|
int pos_first_non_blank;
|
||||||
|
- int isblank(int c);
|
||||||
|
|
||||||
|
strncpy(search_string, string2, MAX_SEARCH_FIELD_LENGTH);
|
||||||
|
search_string[MAX_SEARCH_FIELD_LENGTH - 1] = '\0';
|
@ -23,7 +23,7 @@
|
|||||||
Summary: Specialist tools for ALSA
|
Summary: Specialist tools for ALSA
|
||||||
Name: alsa-tools
|
Name: alsa-tools
|
||||||
Version: 1.0.20
|
Version: 1.0.20
|
||||||
Release: 1%{?dist}.1
|
Release: 1%{?dist}.2
|
||||||
|
|
||||||
# Checked at least one source file from all the sub-projects contained in
|
# Checked at least one source file from all the sub-projects contained in
|
||||||
# the source tarball and they are consistent GPLv2+ - TJ 2007-11-15
|
# the source tarball and they are consistent GPLv2+ - TJ 2007-11-15
|
||||||
@ -39,6 +39,7 @@ Source2: envy24control.png
|
|||||||
Source3: echomixer.desktop
|
Source3: echomixer.desktop
|
||||||
Source4: echomixer.png
|
Source4: echomixer.png
|
||||||
Source5: 90-alsa-tools-firmware.rules
|
Source5: 90-alsa-tools-firmware.rules
|
||||||
|
Patch0: alsa-tools-1.0.20-glibc2.10.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: alsa-lib-devel >= %{version}
|
BuildRequires: alsa-lib-devel >= %{version}
|
||||||
%if 0%{!?_without_tools:1}
|
%if 0%{!?_without_tools:1}
|
||||||
@ -86,6 +87,7 @@ The following tools are available:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
%patch0
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -216,7 +218,7 @@ install -m 644 %{SOURCE5} ${RPM_BUILD_ROOT}%{_sysconfdir}/udev/rules.d
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun May 10 2009 Tim Jackson <rpm@timj.co.uk> - 1.0.20-1.fc12.1
|
* Sun May 10 2009 Tim Jackson <rpm@timj.co.uk> - 1.0.20-1.fc12.2
|
||||||
- Update to 1.0.20
|
- Update to 1.0.20
|
||||||
|
|
||||||
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.19-3
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.19-3
|
||||||
|
Loading…
Reference in New Issue
Block a user