diff options
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-tools/musl.patch')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-tools/musl.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools/musl.patch b/meta/recipes-multimedia/alsa/alsa-tools/musl.patch deleted file mode 100644 index 9eb129c379..0000000000 --- a/meta/recipes-multimedia/alsa/alsa-tools/musl.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From 235d9c5e8381518b0a8661786e7e0cbdd1bbcd01 Mon Sep 17 00:00:00 2001 | ||
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Tue, 12 Jun 2018 13:24:34 +0100 | ||
7 | Subject: [PATCH] ld10k1: define _GNU_SOURCE and use sighandler_t | ||
8 | |||
9 | __sighandler_t is a glibc internal type which doesn't exist in musl. By using | ||
10 | AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE defined, both glibc and musl | ||
11 | then expose sighandler_t. | ||
12 | |||
13 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
14 | Signed-off-by: Takashi Iwai <tiwai@suse.de> | ||
15 | --- | ||
16 | ld10k1/configure.ac | 1 + | ||
17 | ld10k1/src/ld10k1_fnc1.c | 2 +- | ||
18 | 2 files changed, 2 insertions(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/ld10k1/configure.ac b/ld10k1/configure.ac | ||
21 | index 276b24e..f48ca31 100644 | ||
22 | --- a/ld10k1/configure.ac | ||
23 | +++ b/ld10k1/configure.ac | ||
24 | @@ -4,6 +4,7 @@ AC_CONFIG_MACRO_DIR([m4]) | ||
25 | AM_MAINTAINER_MODE([enable]) | ||
26 | |||
27 | AC_CONFIG_HEADERS(config.h) | ||
28 | +AC_USE_SYSTEM_EXTENSIONS | ||
29 | AC_PROG_CC | ||
30 | AC_PROG_LD | ||
31 | AC_PROG_INSTALL | ||
32 | diff --git a/ld10k1/src/ld10k1_fnc1.c b/ld10k1/src/ld10k1_fnc1.c | ||
33 | index 343584c..ddc43c6 100644 | ||
34 | --- a/ld10k1/src/ld10k1_fnc1.c | ||
35 | +++ b/ld10k1/src/ld10k1_fnc1.c | ||
36 | @@ -179,7 +179,7 @@ int main_loop(comm_param *param, int audigy, const char *card_id, int tram_size, | ||
37 | { | ||
38 | fd_set active_fd_set/*, read_fd_set*/; | ||
39 | int i, j, res = 0; | ||
40 | - __sighandler_t old_sig_pipe; | ||
41 | + sighandler_t old_sig_pipe; | ||
42 | |||
43 | int main_sock = 0; | ||
44 | int data_sock = 0; | ||
45 | -- | ||
46 | 2.11.0 | ||
47 | |||