diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-07-09 11:47:24 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-07-09 13:00:07 +0100 |
commit | 082ff82e321869873bebbbe13435258235481a96 (patch) | |
tree | 587486db3f2114d3842e47655392a7ae3c4d30bc /dev-lang/lua | |
parent | sys-kernel/gentoo-kernel-bin: bump to 5.12.15-r1 for arm64 (diff) | |
download | gentoo-082ff82e321869873bebbbe13435258235481a96.tar.gz gentoo-082ff82e321869873bebbbe13435258235481a96.tar.bz2 gentoo-082ff82e321869873bebbbe13435258235481a96.zip |
dev-lang/lua: keyword 5.1.5-r106 for ~riscv
Certain string.format operations produce clearly wrong results, for
instance "string.format("%d", 2^63)" gives -9223372036854775808 on
amd64 yet 9223372036854775807 on riscv; This is the same as with 5.2 but
unlike the latter, it doesn't trigger a test failure here due to
much smaller test coverage of 5.1. However:
- an upstream mailing-list discussion from 2011 [1] suggests
string.format("%d") is known to be borked in Lua 5.1 for very large
integers;
- this is unlikely to have an effect on arithmetics because Lua numbers
are floating-point (string formatting this is one of the few places
in the interpreter where they get internally converted to integers)
Not to mention that this doesn't work correctly on several other arches
for which lua:5.1 has already not only been keyworded but actually
stabilised.
[1] http://lua-users.org/lists/lua-l/2011-07/msg00876.html
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-lang/lua')
-rw-r--r-- | dev-lang/lua/lua-5.1.5-r106.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/lua/lua-5.1.5-r106.ebuild b/dev-lang/lua/lua-5.1.5-r106.ebuild index 234289c293b4..a89579988161 100644 --- a/dev-lang/lua/lua-5.1.5-r106.ebuild +++ b/dev-lang/lua/lua-5.1.5-r106.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://www.lua.org/ftp/${P}.tar.gz" LICENSE="MIT" SLOT="5.1" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="+deprecated readline" COMMON_DEPEND=" |