diff options
| author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-02-12 14:54:06 +0100 |
|---|---|---|
| committer | Conrad Kostecki <conikost@gentoo.org> | 2021-02-12 23:35:47 +0100 |
| commit | 792d0a42c96e101793e07e65ad4d2bc9b4903cc5 (patch) | |
| tree | cde506ebd3d36827b40bae22ad8a7eb60d51d10c /dev-lang/lua/files/lua-5.1.5-disable-deprecated.patch | |
| parent | 999c48f939670b8b499ddad74492db20e44b0c91 (diff) | |
| download | gentoo-792d0a42c96e101793e07e65ad4d2bc9b4903cc5.tar.gz gentoo-792d0a42c96e101793e07e65ad4d2bc9b4903cc5.tar.bz2 gentoo-792d0a42c96e101793e07e65ad4d2bc9b4903cc5.zip | |
dev-lang/lua: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/19427
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lang/lua/files/lua-5.1.5-disable-deprecated.patch')
| -rw-r--r-- | dev-lang/lua/files/lua-5.1.5-disable-deprecated.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/dev-lang/lua/files/lua-5.1.5-disable-deprecated.patch b/dev-lang/lua/files/lua-5.1.5-disable-deprecated.patch deleted file mode 100644 index d1d7fb10115f..000000000000 --- a/dev-lang/lua/files/lua-5.1.5-disable-deprecated.patch +++ /dev/null @@ -1,59 +0,0 @@ -diff -rdu old/src/luaconf.h new/src/luaconf.h ---- old/src/luaconf.h 2008-02-12 17:00:03.000000000 +0000 -+++ new/src/luaconf.h 2008-02-12 17:07:55.000000000 +0000 -@@ -340,14 +340,14 @@ - ** CHANGE it to undefined as soon as your programs use only '...' to - ** access vararg parameters (instead of the old 'arg' table). - */ --#define LUA_COMPAT_VARARG -+#undef LUA_COMPAT_VARARG - - /* - @@ LUA_COMPAT_MOD controls compatibility with old math.mod function. - ** CHANGE it to undefined as soon as your programs use 'math.fmod' or - ** the new '%' operator instead of 'math.mod'. - */ --#define LUA_COMPAT_MOD -+#undef LUA_COMPAT_MOD - - /* - @@ LUA_COMPAT_LSTR controls compatibility with old long string nesting -@@ -355,14 +355,14 @@ - ** CHANGE it to 2 if you want the old behaviour, or undefine it to turn - ** off the advisory error when nesting [[...]]. - */ --#define LUA_COMPAT_LSTR 1 -+#undef LUA_COMPAT_LSTR - - /* - @@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name. - ** CHANGE it to undefined as soon as you rename 'string.gfind' to - ** 'string.gmatch'. - */ --#define LUA_COMPAT_GFIND -+#undef LUA_COMPAT_GFIND - - /* - @@ LUA_COMPAT_OPENLIB controls compatibility with old 'luaL_openlib' -@@ -370,7 +370,7 @@ - ** CHANGE it to undefined as soon as you replace to 'luaL_register' - ** your uses of 'luaL_openlib' - */ --#define LUA_COMPAT_OPENLIB -+#undef LUA_COMPAT_OPENLIB - - - -diff -rdu old/test/sieve.lua new/test/sieve.lua -Rename deprecated functions in test scripts ---- old/test/sieve.lua~ 2002-10-31 03:52:58.000000000 +0100 -+++ new/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 |
