Updated to alsa-lib-1.0.27

This commit is contained in:
Jaroslav Kysela 2013-04-11 15:30:03 +02:00
parent 42b017913d
commit e30f7d86d4
4 changed files with 7 additions and 40 deletions

1
.gitignore vendored
View File

@ -29,3 +29,4 @@ alsa-lib-1.0.22.tar.bz2
/alsa-lib-1.0.24.tar.bz2
/alsa-lib-1.0.25.tar.bz2
/alsa-lib-1.0.26.tar.bz2
/alsa-lib-1.0.27.tar.bz2

View File

@ -1,35 +0,0 @@
From 3e7dc283ed2d3ed2341f0657811c588f4dbcba6d Mon Sep 17 00:00:00 2001
From: David Henningsson <david.henningsson@canonical.com>
Date: Tue, 12 Feb 2013 10:06:11 +0100
Subject: [PATCH] Add sys/types.h to include list
This is needed by snd_pcm_format_silence* functions which
return u_int*_t. It was discovered while trying to compile ALSA
programs with eglibc 2.17.
Credits to Richard Shaw, Gary Buhrmaster, Matthieu Baerts and
Adam Conrad for this fix.
BugLink: https://bugs.launchpad.net/bugs/1109298
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=885306
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
include/asoundlib-head.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/asoundlib-head.h b/include/asoundlib-head.h
index 20c8a68..6edbab0 100644
--- a/include/asoundlib-head.h
+++ b/include/asoundlib-head.h
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <sys/types.h>
#include <string.h>
#include <fcntl.h>
#include <assert.h>
--
1.7.11.4

View File

@ -4,8 +4,8 @@
Summary: The Advanced Linux Sound Architecture (ALSA) library
Name: alsa-lib
Version: 1.0.26
Release: 4%{?prever_dot}%{?dist}
Version: 1.0.27
Release: 1%{?prever_dot}%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.alsa-project.org/
@ -17,7 +17,6 @@ Source12: modprobe-dist-oss.conf
Patch0: alsa-lib-1.0.24-config.patch
Patch2: alsa-lib-1.0.14-glibc-open.patch
Patch4: alsa-lib-1.0.16-no-dox-date.patch
Patch5: alsa-lib-sys-types.patch
BuildRequires: doxygen
Requires(post): /sbin/ldconfig, coreutils
@ -48,7 +47,6 @@ against the ALSA libraries and interfaces.
%patch0 -p1 -b .config
%patch2 -p1 -b .glibc-open
%patch4 -p1 -b .no-dox-date
%patch5 -p1 -b .sys-types
%build
%configure --disable-aload --with-plugindir=%{_libdir}/alsa-lib --disable-alisp
@ -109,6 +107,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_datadir}/aclocal/alsa.m4
%changelog
* Thu Apr 11 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.17-1
- Updated to 1.0.27
* Wed Apr 03 2013 Stephen Gallagher <sgallagh@redhat.com> - 1.0.26-4
- Add upstream patch to explicitly include sys/types.h

View File

@ -1 +1 @@
2dfa35d28471d721e592b616beedf965 alsa-lib-1.0.26.tar.bz2
f090c7dbd0fe57d786d82e411eac2d08 alsa-lib-1.0.27.tar.bz2