From 0860c7fbcbf43fcfe7f8f89035b2732a9968c1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Sep 2018 23:15:37 +0200 Subject: Add fixed lua version --- dev-lang/lua/files/lua-5.1.4-test.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dev-lang/lua/files/lua-5.1.4-test.patch (limited to 'dev-lang/lua/files/lua-5.1.4-test.patch') diff --git a/dev-lang/lua/files/lua-5.1.4-test.patch b/dev-lang/lua/files/lua-5.1.4-test.patch new file mode 100644 index 0000000..99b4ad6 --- /dev/null +++ b/dev-lang/lua/files/lua-5.1.4-test.patch @@ -0,0 +1,11 @@ +--- test/sieve.lua~ 2002-10-31 03:52:58.000000000 +0100 ++++ test/sieve.lua 2008-02-20 17:44:22.468281121 +0100 +@@ -14,7 +14,7 @@ + while 1 do + local n = g() + if n == nil then return end +- if math.mod(n, p) ~= 0 then coroutine.yield(n) end ++ if math.fmod(n, p) ~= 0 then coroutine.yield(n) end + end + end) + end -- cgit v1.2.3