diff options
author | Roy.Li <rongqing.li@windriver.com> | 2012-07-18 10:15:56 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-18 14:29:31 +0100 |
commit | ecd5308c90e384e2bb9d68e0e03a284410ab897e (patch) | |
tree | 1da903bfa45fb15f428e16984ff551c32ddd27dd | |
parent | 55faaa04cd8ae3d8f5d77eaaf86ebf82d1f61311 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch | 16 |
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 @@ | |||
1 | slang: change char type to signed char in macros | ||
2 | |||
3 | C language has 3 distinct char types: | ||
4 | char | ||
5 | unsigned char | ||
6 | signed char | ||
7 | A char has the same range of values as signed char on X86, | ||
8 | but same as unsigned char on ARM which made Slang's typecast() | ||
9 | and array_sort() unable to work for char value on ARM, since | ||
10 | Slang is assuming "char" as "signed char". | ||
11 | |||
12 | Now we change "char" as "signed char" explicitly in | ||
13 | util/mkslarith2.sl, and use it to regenerate src/slarith2.inc | ||
14 | |||
15 | Upstream-Status: Submitted | ||
16 | Signed-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 - |