mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
This patch has been like this at least since the migration from CVS to Git but epatch was apparently able to work around the patch author having used a backup file as diff source, and even for Lua ebuilds using eapply this was only triggered by disabling USE=-deprecated. Thanks to Arfrever for the heads-up. Signed-off-by: Marek Szuba <marecki@gentoo.org>
12 lines
271 B
Diff
12 lines
271 B
Diff
--- a/test/sieve.lua
|
|
+++ b/test/sieve.lua
|
|
@@ -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
|