diff options
author | Roy.Li <rongqing.li@windriver.com> | 2012-07-10 17:27:00 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-07-16 08:31:40 -0700 |
commit | 0a1d842e2db63265a6a6708b1101e1f52f223fc9 (patch) | |
tree | e2506fc368272eaf61282cfd6496ae544abc32a2 /meta/recipes-extended/slang/slang_2.2.4.bb | |
parent | 6facee8443966b646cd1e72f14ae13e58a13f621 (diff) | |
download | openembedded-core-0a1d842e2db63265a6a6708b1101e1f52f223fc9.tar.gz openembedded-core-0a1d842e2db63265a6a6708b1101e1f52f223fc9.tar.bz2 openembedded-core-0a1d842e2db63265a6a6708b1101e1f52f223fc9.zip |
slang: change char type to signed char in macros
Fix [YOCTO 2726]
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
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/slang/slang_2.2.4.bb')
-rw-r--r-- | meta/recipes-extended/slang/slang_2.2.4.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/slang/slang_2.2.4.bb b/meta/recipes-extended/slang/slang_2.2.4.bb index f17bc0f597..72dd99fb76 100644 --- a/meta/recipes-extended/slang/slang_2.2.4.bb +++ b/meta/recipes-extended/slang/slang_2.2.4.bb @@ -10,7 +10,7 @@ to recode S-Lang procedures in C if you need to." HOMEPAGE = "http://www.jedsoft.org/slang/" SECTION = "libs" DEPENDS = "pcre" -PR = "r8" +PR = "r9" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=a52a18a472d4f7e45479b06563717c02" @@ -19,6 +19,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a52a18a472d4f7e45479b06563717c02" SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/slang-${PV}.tar.bz2 \ file://rpathfix.patch \ " +SRC_URI_append_arm = " file://change-char-type-to-signed-char-in-macros.patch" inherit autotools |