1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Tanu Kaskinen
2017-11-27 18:39:33 +02:00
committed by Richard Purdie
parent b497f42ead
commit ea36a9a962
4 changed files with 4 additions and 36 deletions
@@ -1,31 +0,0 @@
From 1e5926df74a35fe2cd90bc59f5264a8715c94048 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 7 Sep 2015 08:16:59 +0000
Subject: [PATCH] as10k1: Make output_tram_line() static inline
The function is not used in any other file, its better to make it static
inline so compiler has a better chance of optimizing here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending
as10k1/as10k1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/as10k1/as10k1.c b/as10k1/as10k1.c
index 96af0c3..d0766fd 100644
--- a/as10k1/as10k1.c
+++ b/as10k1/as10k1.c
@@ -366,7 +366,7 @@ void as_exit(const char *message)
exit(1);
}
-inline void output_tram_line( struct list_head *line_head, int type){
+static inline void output_tram_line( struct list_head *line_head, int type){
struct tram *tram_sym;
struct list_head *entry;
--
2.5.1
@@ -20,7 +20,7 @@ diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile
--- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800
+++ alsa-tools-1.0.24.1/Makefile 2011-07-14 15:08:08.877665009 +0800
@@ -1,8 +1,8 @@
VERSION = 1.1.0
VERSION = 1.1.5
TOP = .
-SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \
+SUBDIRS = as10k1 envy24control \
@@ -14,7 +14,7 @@ index 2457a1c..72346d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
VERSION = 1.1.0
VERSION = 1.1.5
TOP = .
-SUBDIRS = as10k1 envy24control \
- mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
@@ -12,11 +12,10 @@ SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \
file://autotools.patch \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'file://makefile_no_gtk.patch', d)} \
file://gitcompile_hdajacksensetest \
file://0001-as10k1-Make-output_tram_line-static-inline.patch \
"
SRC_URI[md5sum] = "b23eaae687d55410b92587c2053b301f"
SRC_URI[sha256sum] = "d88f1dcd6872121383eded5fa24e328e68c54e527db4547e1435d5eabc2b6709"
SRC_URI[md5sum] = "3afb92eb1b4f2edc8691498e57c3ec78"
SRC_URI[sha256sum] = "bc3c6567de835223ee7d69487b8c22fb395a2e8c613341b0c96e6a5f6a2bd534"
inherit autotools-brokensep pkgconfig