summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2012-07-18 10:15:56 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-18 14:29:31 +0100
commitecd5308c90e384e2bb9d68e0e03a284410ab897e (patch)
tree1da903bfa45fb15f428e16984ff551c32ddd27dd /meta
parent55faaa04cd8ae3d8f5d77eaaf86ebf82d1f61311 (diff)
downloadpoky-ecd5308c90e384e2bb9d68e0e03a284410ab897e.tar.gz
slang: add header to patch
Add description, Signed-off-by and Upstream-Status to change-char-type-to-signed-char-in-macros.patch (From OE-Core rev: 25745cf72056efc2250e8fdd99d6f30384472694) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch b/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch
index 18dea139ea..2ea1ffda57 100644
--- a/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch
+++ b/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch
@@ -1,3 +1,19 @@
1slang: change char type to signed char in macros
2
3C language has 3 distinct char types:
4 char
5 unsigned char
6 signed char
7A char has the same range of values as signed char on X86,
8but same as unsigned char on ARM which made Slang's typecast()
9and array_sort() unable to work for char value on ARM, since
10Slang is assuming "char" as "signed char".
11
12Now we change "char" as "signed char" explicitly in
13util/mkslarith2.sl, and use it to regenerate src/slarith2.inc
14
15Upstream-Status: Submitted
16Signed-off-by: Roy.Li <rongqing.li@windriver.com>
1--- 17---
2 src/slarith2.inc | 72 ++++++++++++++++++++++++------------------------- 18 src/slarith2.inc | 72 ++++++++++++++++++++++++-------------------------
3 src/util/mkslarith2.sl | 2 - 19 src/util/mkslarith2.sl | 2 -