diff options
author | 2006-11-14 21:32:58 +0000 | |
---|---|---|
committer | 2006-11-14 21:32:58 +0000 | |
commit | 5d9914fe7332640f7f44cfb92ee1580e7aeab6dc (patch) | |
tree | 2c91424d7a85fa7b96c1b2e200491e40f6b195f2 /dev-tinyos/nesc/files | |
parent | Keywording ~amd64. (diff) | |
download | historical-5d9914fe7332640f7f44cfb92ee1580e7aeab6dc.tar.gz historical-5d9914fe7332640f7f44cfb92ee1580e7aeab6dc.tar.bz2 historical-5d9914fe7332640f7f44cfb92ee1580e7aeab6dc.zip |
Removing obsolete versions. Inheriting java-pkg-2 avoiding errors with a JRE as VM. Adding patch provided by Aurélien Francillon fixing bug #145870. Keywording ~amd64
Package-Manager: portage-2.1.2_rc1-r6
Diffstat (limited to 'dev-tinyos/nesc/files')
-rw-r--r-- | dev-tinyos/nesc/files/nesc-1.2.7a-alignment.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-tinyos/nesc/files/nesc-1.2.7a-alignment.patch b/dev-tinyos/nesc/files/nesc-1.2.7a-alignment.patch new file mode 100644 index 000000000000..c540960ef0e5 --- /dev/null +++ b/dev-tinyos/nesc/files/nesc-1.2.7a-alignment.patch @@ -0,0 +1,30 @@ +--- src/attributes.c-old 2006-09-05 18:52:23.000000000 +0200 ++++ src/attributes.c 2006-09-05 19:40:23.000000000 +0200 +@@ -69,9 +69,6 @@ + return cval_cast(arg, size_t_type); + else + error("requested alignment is not a power of 2"); +- else +- error("requested alignment is not a constant"); +- + return cval_top; + } + +@@ -146,13 +143,10 @@ + { + cval arg = get_alignment(attr); + +- if (cval_isinteger(arg)) +- { +- if (ddecl->kind == decl_variable || ddecl->kind == decl_typedef) +- ddecl->type = align_type(ddecl->type, arg); +- else +- ignored_gcc_attribute(attr); +- } ++ if (cval_isinteger(arg) && (ddecl->kind == decl_variable || ddecl->kind == decl_typedef)) ++ ddecl->type = align_type(ddecl->type, arg); ++ else ++ ignored_gcc_attribute(attr); + } + else if (is_attr_name(name, "mode")) + { |