[CONSOLIDATED,PULL,17/18] slang: add header to patch

Submitted by Saul Wold on July 18, 2012, 7:42 a.m.


Message ID aaa2f9d236a6254902de768102ef86bbe78b80fa.1342597081.git.sgw@linux.intel.com
State New
Headers show

Commit Message

Saul Wold July 18, 2012, 7:42 a.m.
From: "Roy.Li" <rongqing.li@windriver.com>

Add description, Signed-off-by and Upstream-Status to

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
 ...change-char-type-to-signed-char-in-macros.patch |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

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 18dea13..2ea1ffd 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 @@ 
+slang: change char type to signed char in macros
+C language has 3 distinct char types:
+         char
+         unsigned char
+         signed char
+A char has the same range of values as signed char on X86,
+but same as unsigned char on ARM which made Slang's typecast()
+and array_sort() unable to work for char value on ARM, since
+Slang is assuming "char" as "signed char".
+Now we change "char" as "signed char" explicitly in
+util/mkslarith2.sl, and use it to regenerate src/slarith2.inc
+Upstream-Status: Submitted
+Signed-off-by: Roy.Li <rongqing.li@windriver.com>
  src/slarith2.inc       |   72 ++++++++++++++++++++++++-------------------------
  src/util/mkslarith2.sl |    2 -