Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/lua/
Date: Fri, 09 Jul 2021 11:37:25
Message-Id: 1625830633.aa660b094c6a29bc46d6018139904d82e1e7667b.marecki@gentoo
1 commit: aa660b094c6a29bc46d6018139904d82e1e7667b
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 9 10:47:24 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 9 11:37:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa660b09
7
8 dev-lang/lua: keyword 5.1.5-r106 for -riscv
9
10 Certain string.format operations produce clearly wrong results, for
11 instance "string.format("%d", 2^63)" gives -9223372036854775808 on
12 amd64 yet 9223372036854775807 on riscv. This is the same as with 5.2 but
13 unlike the latter, it doesn't trigger a test failure here due to
14 much smaller test coverage of 5.1.
15
16 This might be a formatting-only problem because the binary representation
17 of 2^63 looks the same (and OK) on both arches, not to mention that for
18 newer Lua versions 2^63 is already considered out of range for '%d'
19 - but err on the side of caution for now.
20
21 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
22
23 dev-lang/lua/lua-5.1.5-r106.ebuild | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26 diff --git a/dev-lang/lua/lua-5.1.5-r106.ebuild b/dev-lang/lua/lua-5.1.5-r106.ebuild
27 index eed2660a761..234289c293b 100644
28 --- a/dev-lang/lua/lua-5.1.5-r106.ebuild
29 +++ b/dev-lang/lua/lua-5.1.5-r106.ebuild
30 @@ -10,7 +10,7 @@ SRC_URI="https://www.lua.org/ftp/${P}.tar.gz"
31
32 LICENSE="MIT"
33 SLOT="5.1"
34 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
35 +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"
36 IUSE="+deprecated readline"
37
38 COMMON_DEPEND="