summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-07-09 11:47:24 +0100
committerMarek Szuba <marecki@gentoo.org>2021-07-09 12:37:13 +0100
commitaa660b094c6a29bc46d6018139904d82e1e7667b (patch)
treee95896e6f3c132d9da6f829e7bedf4411dce77c8
parentwww-servers/tomcat: bump to 8.5.69 (diff)
downloadgentoo-aa660b09.tar.gz
gentoo-aa660b09.tar.bz2
gentoo-aa660b09.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. This might be a formatting-only problem because the binary representation of 2^63 looks the same (and OK) on both arches, not to mention that for newer Lua versions 2^63 is already considered out of range for '%d' - but err on the side of caution for now. Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r--dev-lang/lua/lua-5.1.5-r106.ebuild2
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 eed2660a7619..234289c293b4 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 ~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="