rpms/alsa-tools/devel alsa-tools-1.0.20-glibc2.10.patch, NONE, 1.1 alsa-tools.spec, 1.26, 1.27

Tim Jackson timj at fedoraproject.org
Sat May 30 10:51:48 UTC 2009


Author: timj

Update of /cvs/extras/rpms/alsa-tools/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21931

Modified Files:
	alsa-tools.spec 
Added Files:
	alsa-tools-1.0.20-glibc2.10.patch 
Log Message:
Fix build against glibc2.10


alsa-tools-1.0.20-glibc2.10.patch:

--- NEW FILE alsa-tools-1.0.20-glibc2.10.patch ---
>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';


Index: alsa-tools.spec
===================================================================
RCS file: /cvs/extras/rpms/alsa-tools/devel/alsa-tools.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- alsa-tools.spec	10 May 2009 17:39:10 -0000	1.26
+++ alsa-tools.spec	30 May 2009 10:51:18 -0000	1.27
@@ -23,7 +23,7 @@
 Summary:        Specialist tools for ALSA
 Name:           alsa-tools
 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
 # the source tarball and they are consistent GPLv2+ - TJ 2007-11-15
@@ -39,6 +39,7 @@ Source2:        envy24control.png
 Source3:        echomixer.desktop
 Source4:        echomixer.png
 Source5:        90-alsa-tools-firmware.rules
+Patch0:         alsa-tools-1.0.20-glibc2.10.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  alsa-lib-devel >= %{version}
 %if 0%{!?_without_tools:1}
@@ -86,6 +87,7 @@ The following tools are available:
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch0
 
 
 %build
@@ -216,7 +218,7 @@ install -m 644 %{SOURCE5} ${RPM_BUILD_RO
 %endif
 
 %changelog
-* Sun May 10 2009 Tim Jackson <rpm at timj.co.uk> - 1.0.20-1.fc12.1
+* Sun May 10 2009 Tim Jackson <rpm at timj.co.uk> - 1.0.20-1.fc12.2
 - Update to 1.0.20
 
 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.19-3




More information about the fedora-extras-commits mailing list