Accepting request 751228 from home:tiwai:branches:multimedia:libs
- Fix the detection of topology library in alsa.m4: 0001-alsa.m4-Fix-the-detection-of-topology-library-availa.patch OBS-URL: https://build.opensuse.org/request/show/751228 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=260
This commit is contained in:
parent
bd12281373
commit
6607091dcb
@ -0,0 +1,28 @@
|
|||||||
|
From be02b903b8aaa3a9b99b8de9608bce3c4eb13f63 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Takashi Iwai <tiwai@suse.de>
|
||||||
|
Date: Wed, 27 Nov 2019 10:19:26 +0100
|
||||||
|
Subject: [PATCH] alsa.m4: Fix the detection of topology library availability
|
||||||
|
|
||||||
|
The header file alsa/topology.h is mandatory and needs to be checked,
|
||||||
|
too.
|
||||||
|
|
||||||
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
||||||
|
---
|
||||||
|
utils/alsa.m4 | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/utils/alsa.m4 b/utils/alsa.m4
|
||||||
|
index 90e3ee56a981..4c457f0d4e1d 100644
|
||||||
|
--- a/utils/alsa.m4
|
||||||
|
+++ b/utils/alsa.m4
|
||||||
|
@@ -130,6 +130,7 @@ AC_LANG_C
|
||||||
|
AC_MSG_CHECKING([for libatopology (sound headers version > 1.1.9)])
|
||||||
|
AC_TRY_COMPILE([
|
||||||
|
#include <alsa/asoundlib.h>
|
||||||
|
+#include <alsa/topology.h>
|
||||||
|
], [
|
||||||
|
/* ensure backward compatibility */
|
||||||
|
#if !defined(SND_LIB_VERSION)
|
||||||
|
--
|
||||||
|
2.16.4
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 27 10:21:23 CET 2019 - tiwai@suse.de
|
||||||
|
|
||||||
|
- Fix the detection of topology library in alsa.m4:
|
||||||
|
0001-alsa.m4-Fix-the-detection-of-topology-library-availa.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 19 16:44:43 CET 2019 - tiwai@suse.de
|
Tue Nov 19 16:44:43 CET 2019 - tiwai@suse.de
|
||||||
|
|
||||||
|
@ -48,6 +48,7 @@ Source31: all_notes_off.bin
|
|||||||
Source32: all_notes_off.mid
|
Source32: all_notes_off.mid
|
||||||
Source34: alsa-init.sh
|
Source34: alsa-init.sh
|
||||||
# upstream fixes
|
# upstream fixes
|
||||||
|
Patch1: 0001-alsa.m4-Fix-the-detection-of-topology-library-availa.patch
|
||||||
# rest suse fixes
|
# rest suse fixes
|
||||||
Patch101: alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
|
Patch101: alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@ -132,6 +133,7 @@ This package contains the library for ALSA topology support.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n alsa-lib-%{version}
|
%setup -q -n alsa-lib-%{version}
|
||||||
|
%patch1 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user