mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
Add a patch to make lua test compatible with lua-5.1 os.exit() function in lua-5.4 accepts first argument as either boolean or number [1], while 5.1 only accepts number [2]; so update the function call to be compatible with both versions. While at it, add lua as a test dependency. [1] https://www.lua.org/manual/5.1/manual.html#pdf-os.exit [2] https://www.lua.org/manual/5.4/manual.html#pdf-os.exit Bug: https://bugs.gentoo.org/959269 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
287 B
287 B