summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2017-11-27 18:39:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-10 22:45:18 +0000
commitea36a9a9622dca337696999f2c643095b130b2b0 (patch)
tree3b4280fea34682c18f85b2e9fcb2f71f9cc11672 /meta/recipes-multimedia/alsa
parentb497f42eadb6bfd2564f969e2faf6c4b007ca2a9 (diff)
downloadpoky-ea36a9a9622dca337696999f2c643095b130b2b0.tar.gz
alsa-tools: 1.1.3 -> 1.1.5
Changes: http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5 Rebased autotools.patch and makefile_no_gtk.patch. Dropped 0001-as10k1-Make-output_tram_line-static-inline.patch with the assumption that it's not needed any more. The patch added a "static" qualifier to a function. According to the commit message, this was done to improve optimization. Upstream removed the "inline" qualifier from that same function, because it caused some trouble with clang. My guess is that the patch author actually ran into the same clang problem as upstream, but came up with a different fix. It doesn't seem like a function whose optimization anyone would really be interested in. Cc: Khem Raj <raj.khem@gmail.com> (From OE-Core rev: 569beb5f5e32536a3b2e398ddc218ce5ad76cbe1) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools/0001-as10k1-Make-output_tram_line-static-inline.patch31
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools/autotools.patch2
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch2
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb (renamed from meta/recipes-multimedia/alsa/alsa-tools_1.1.3.bb)5
4 files changed, 4 insertions, 36 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools/0001-as10k1-Make-output_tram_line-static-inline.patch b/meta/recipes-multimedia/alsa/alsa-tools/0001-as10k1-Make-output_tram_line-static-inline.patch
deleted file mode 100644
index d049a30d2c..0000000000
--- a/meta/recipes-multimedia/alsa/alsa-tools/0001-as10k1-Make-output_tram_line-static-inline.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 1e5926df74a35fe2cd90bc59f5264a8715c94048 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 7 Sep 2015 08:16:59 +0000
4Subject: [PATCH] as10k1: Make output_tram_line() static inline
5
6The function is not used in any other file, its better to make it static
7inline so compiler has a better chance of optimizing here
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Pending
12
13 as10k1/as10k1.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/as10k1/as10k1.c b/as10k1/as10k1.c
17index 96af0c3..d0766fd 100644
18--- a/as10k1/as10k1.c
19+++ b/as10k1/as10k1.c
20@@ -366,7 +366,7 @@ void as_exit(const char *message)
21 exit(1);
22 }
23
24-inline void output_tram_line( struct list_head *line_head, int type){
25+static inline void output_tram_line( struct list_head *line_head, int type){
26
27 struct tram *tram_sym;
28 struct list_head *entry;
29--
302.5.1
31
diff --git a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
index 319f25d27a..2e74963c89 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
+++ b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
@@ -20,7 +20,7 @@ diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile
20--- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800 20--- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800
21+++ alsa-tools-1.0.24.1/Makefile 2011-07-14 15:08:08.877665009 +0800 21+++ alsa-tools-1.0.24.1/Makefile 2011-07-14 15:08:08.877665009 +0800
22@@ -1,8 +1,8 @@ 22@@ -1,8 +1,8 @@
23 VERSION = 1.1.0 23 VERSION = 1.1.5
24 TOP = . 24 TOP = .
25-SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \ 25-SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \
26+SUBDIRS = as10k1 envy24control \ 26+SUBDIRS = as10k1 envy24control \
diff --git a/meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch b/meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch
index 9bd6848eda..54373d1a8f 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch
+++ b/meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch
@@ -14,7 +14,7 @@ index 2457a1c..72346d9 100644
14--- a/Makefile 14--- a/Makefile
15+++ b/Makefile 15+++ b/Makefile
16@@ -1,9 +1,9 @@ 16@@ -1,9 +1,9 @@
17 VERSION = 1.1.0 17 VERSION = 1.1.5
18 TOP = . 18 TOP = .
19-SUBDIRS = as10k1 envy24control \ 19-SUBDIRS = as10k1 envy24control \
20- mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \ 20- mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.1.3.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb
index 9e97c0e969..1be43aa6e7 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.1.3.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb
@@ -12,11 +12,10 @@ SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \
12 file://autotools.patch \ 12 file://autotools.patch \
13 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'file://makefile_no_gtk.patch', d)} \ 13 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'file://makefile_no_gtk.patch', d)} \
14 file://gitcompile_hdajacksensetest \ 14 file://gitcompile_hdajacksensetest \
15 file://0001-as10k1-Make-output_tram_line-static-inline.patch \
16 " 15 "
17 16
18SRC_URI[md5sum] = "b23eaae687d55410b92587c2053b301f" 17SRC_URI[md5sum] = "3afb92eb1b4f2edc8691498e57c3ec78"
19SRC_URI[sha256sum] = "d88f1dcd6872121383eded5fa24e328e68c54e527db4547e1435d5eabc2b6709" 18SRC_URI[sha256sum] = "bc3c6567de835223ee7d69487b8c22fb395a2e8c613341b0c96e6a5f6a2bd534"
20 19
21inherit autotools-brokensep pkgconfig 20inherit autotools-brokensep pkgconfig
22 21