diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-11-02 13:24:39 +0700 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-11-02 13:24:39 +0700 |
commit | a50ea72816faadd68763c8f8df9e46b2b5d8bef2 (patch) | |
tree | 6b9bbb73cea80105597a6b629a08797656d72828 /dev-lang/lua/files/patches/5.1.5/conditional/no-deprecated/0002_tests.patch | |
parent | eselect-luajit: some prefix-related fixes (diff) | |
download | lua-a50ea72816faadd68763c8f8df9e46b2b5d8bef2.tar.gz lua-a50ea72816faadd68763c8f8df9e46b2b5d8bef2.tar.bz2 lua-a50ea72816faadd68763c8f8df9e46b2b5d8bef2.zip |
lua: porting to patch eclass, sync with tree
Diffstat (limited to 'dev-lang/lua/files/patches/5.1.5/conditional/no-deprecated/0002_tests.patch')
-rw-r--r-- | dev-lang/lua/files/patches/5.1.5/conditional/no-deprecated/0002_tests.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/lua/files/patches/5.1.5/conditional/no-deprecated/0002_tests.patch b/dev-lang/lua/files/patches/5.1.5/conditional/no-deprecated/0002_tests.patch new file mode 100644 index 0000000..7ba4495 --- /dev/null +++ b/dev-lang/lua/files/patches/5.1.5/conditional/no-deprecated/0002_tests.patch @@ -0,0 +1,11 @@ +--- a/test/sieve.lua 2002-10-31 03:52:58.000000000 +0100 ++++ b/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 |