diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-22 16:48:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-22 16:48:54 +0000 |
commit | ce163dcd0944d81d8406c9532b457535efca7a6d (patch) | |
tree | f7deea170544ce69e03c037101b7b5c1277966b4 /dev-lang/lua | |
parent | 05ee8049e2326946a2cd1720f98384c864f0a804 (diff) |
gentoo auto-resync : 22:01:2024 - 16:48:54
Diffstat (limited to 'dev-lang/lua')
-rw-r--r-- | dev-lang/lua/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/lua/files/lua-5.4.4-lparser-overread.patch | 34 | ||||
-rw-r--r-- | dev-lang/lua/lua-5.4.4-r103.ebuild | 54 |
3 files changed, 0 insertions, 91 deletions
diff --git a/dev-lang/lua/Manifest b/dev-lang/lua/Manifest index 1456a7a44d6d..ba58e9c30832 100644 --- a/dev-lang/lua/Manifest +++ b/dev-lang/lua/Manifest @@ -1,14 +1,11 @@ AUX 5.1/0001-extern_C.patch 375 BLAKE2B 0895a21a49accbcba7efad34aa4fae6648085962eff533f11eb15f14c1dacf4ab6d7be9a09e50e1ff723aa362d7002f6bfb88166fd3ce1d55ecb21da5328f6a4 SHA512 c9a2e541fc29dfb4b88611a1a19ffca8c61d0ac603429925782178bf605c66befa79a8381c7972adaa84c685f02f2731b4273cc1b346cacf510e2d3c0b150d84 AUX 5.1/0002-Fix-stack-overflow-in-vararg-functions.patch 650 BLAKE2B 6d29d902110b903b8354b52d721a61f64216fd6b9b81bf11fe0117c7533724af147dc4de1895b017174a5e0385c2a44a6ef9f2d76cb71e517a83d2b32f31de71 SHA512 feefcda0982bcd03988fbaa95b50a33eca9f26ea39c1db5292f5b1ff240cf0a8124c185207b534e4b8ac777fde97d11405c3278c7382365ad9d6e7cdc7868a23 AUX lua-5.1.4-test.patch 271 BLAKE2B 1b8d2fd524d34fce99315d03232984a3cd1ad74fb23a7794a9886613bc96cdd1d48c82913c5b1ebf0765b3e51d5fcba2dfedd8eb9cf62e63e6998036447319fd SHA512 963bd2c53714eb067a55ee4d84b465ee96b2d3de71498bc83ecb4f8de70d59d6574703b36c621b9969d3f595a2c794095aae0d9c59cc02d5778ce0e7a1da8247 -AUX lua-5.4.4-lparser-overread.patch 1096 BLAKE2B 5d00f81304fbd2097e83ca3c8ba774972db4d4f2524a842667e94a930bf4dcaba4311b292adfd929d116da9fddf3458db2f89e1ee582fe1074ca6cfcd0ce79a6 SHA512 b31c15f6dbef77b5ed78ce43fd9d0a3b702f5fdb7eb542719651f7054c939b5f0b8171551cb1edddc1abe4c36b670be3b118a893b56b28354c9c1a35903bdefa AUX lua-5.4.6-sparc-tests.patch 1444 BLAKE2B 46ae9fa66d87301f29ae05db9ac4e39eaca8a970c0839923838cb852cb6f0295bee4b73060625d51489b1f70580d0e7179a88a4c93c68fdb9cb63941b7916a80 SHA512 2694fc8e2915d07bbba4fdf70a929afe124f409d2c0a4b74569cf8d71802173b8f02c9c44cc37172fa5c0ef7b971fec07b97991c8321c0fb90e71350c5137200 DIST lua-5.1.5.tar.xz 397416 BLAKE2B ef3880d78be1def383a9db6753b7aec4160f6fa8719529c2ea6266015771a23a1be81424520de10bb087a86081f1ec48c58c36eb8b24bff53adb6bd8d791e31b SHA512 bd827cb2e63cd71d15d846eb29c8745bf869e7b70e12c565ce173623d1fcd29dabf4d33a99c48f294151bb580d830c112cf178e2d80a5a5c36acc7b3bfcd7d24 DIST lua-5.3.6.tar.xz 541220 BLAKE2B c356cec06b14cdcbb29e382c951491432a3189618f9fd8c8832bdc8c831640fbcb9e212db05b61a577633c5fe9831e75a158cb97720c1e51cab27544526c9e24 SHA512 9a632a90806fa71398d70be7d38769065c1258fd94709cef72236753b42131b8d30da2a5dd28c74211ef8d04b0c30f52d0c593d49c2e8686568c8896b69577d7 -DIST lua-5.4.4.tar.xz 606456 BLAKE2B ba6cad647c0171e5e737151b189b5b404948c08182e9f17d7974a6c6c3b7d99b03cf930add863188db22674b8613fc600d771f62f9dfc99232aab9caea9b073c SHA512 8f3950ed5972a29d7c79e72af617526f6b9f6be7ab268e66206d7e453acc2564541c9d01e2de08a7e9046ab24c66b02167e48a0d5764753befd95dc922b61219 DIST lua-5.4.6.tar.xz 608376 BLAKE2B bec47685a24be429fa930ac02e6930300ad77105c56d970d3f1a9a6241c23da5ea77b863e9eca36b6c20e1ef1dc90f3635afe9b09dc4221f1e5dd72ce951df38 SHA512 8e7f6bd9d7fdf9327134f7eb01a78df87141989ea0d95f331eb0e71acdbf7c7b7d908da95e16cd91b3f9bad1b496e3b4db2380a851557f29cdc53f4f5255cda5 EBUILD lua-5.1.5-r200.ebuild 1169 BLAKE2B eb6959855c20535a0187960a6490d7bcb3a667f6a8ac0a1cbf0e9104d2ad9d97add2684529a24dec24c70975b2a5a0b4e8b690b2f9a4ea216df254516f4d3c27 SHA512 5f3b4a000b50a601b20c5e31bdef9c6df3b8dbf7f07689cc8fb6ac89561c7f8883b89daea8ba7bfeb88ffb0cac290c1ec007aa430835ec291d7ca7c5437cb1e8 EBUILD lua-5.3.6-r102.ebuild 1355 BLAKE2B 211f8ad0f2f0313c70881e0af8f22e82810abadd18adb93bf8f035f0c6d3b258cbc69ed9fb831f62986d5c5c7e2192125d397adf1daf843daa6193c791d26d63 SHA512 71a376e1cb1562cc832d4c1c01788f8e3b381ed7dcadd3e5e9d033dc9fdc269e49994ba3656a18cbf75e8692d2e7e29b5874ec71ffc666629036db351abdca8b -EBUILD lua-5.4.4-r103.ebuild 1394 BLAKE2B 8fa293bd028381813b82f96b994b4317ae0a98ace338afdecbec4bc6da5d98cf8a674ec2d7b3d5c8e752abbc31fff7d4970a540c4002b47b78ff3229371a1675 SHA512 76981085660284d7d49749440e4e9048b80f42450f8bcee0fa42c81523d5d57a7d6e8c6b61cae667b5a6afaccbda634e2f73260750621e85b8af0f65d382645b EBUILD lua-5.4.6.ebuild 1468 BLAKE2B 621402f5d628700f2b50334e88a57e524eeae2def78dfe7f0e39080866a03954a0bb7d7f00bc9920f8dd34986ce1acf0ad5dd034cccf83058f15ee431c8161db SHA512 f2578e3ccf81fa238c11b5f89910ec209a06993b3c7fbe1874acf375faea7c0b7bcebb6aa8f44b9a1d030ac26a00f5167f474708d2f17174c3eaa4dec0737519 MISC metadata.xml 531 BLAKE2B 19b9857f40565977f08d20b76cc444f2e736b040d68afc50b8697ca771345a7393aad5dc0d27251c59ea3a47840465ce76fad315d91b63758cb969bbfdc94fce SHA512 fef206f3d804206a8f0941767e27a46b0237d528125512b49a368ae15ab90750ad40a1261699f22e8f53274a1ea129b392becada0f4757d712b9197733093793 diff --git a/dev-lang/lua/files/lua-5.4.4-lparser-overread.patch b/dev-lang/lua/files/lua-5.4.4-lparser-overread.patch deleted file mode 100644 index 3e625aa4ffc0..000000000000 --- a/dev-lang/lua/files/lua-5.4.4-lparser-overread.patch +++ /dev/null @@ -1,34 +0,0 @@ -From https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa Mon Sep 17 00:00:00 2001 -From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> -Date: Tue, 15 Feb 2022 12:28:46 -0300 -Subject: [PATCH] Bug: Lua can generate wrong code when _ENV is <const> - ---- a/src/lparser.c -+++ b/src/lparser.c -@@ -468,6 +468,7 @@ static void singlevar (LexState *ls, expdesc *var) { - expdesc key; - singlevaraux(fs, ls->envn, var, 1); /* get environment variable */ - lua_assert(var->k != VVOID); /* this one must exist */ -+ luaK_exp2anyregup(fs, var); /* but could be a constant */ - codestring(&key, varname); /* key is variable name */ - luaK_indexed(fs, var, &key); /* env[varname] */ - } ---- a/tests/attrib.lua -+++ b/tests/attrib.lua -@@ -434,6 +434,16 @@ a.aVeryLongName012345678901234567890123456789012345678901234567890123456789 == - 10) - - -+do -+ -- _ENV constant -+ local function foo () -+ local _ENV <const> = 11 -+ X = "hi" -+ end -+ local st, msg = pcall(foo) -+ assert(not st and string.find(msg, "number")) -+end -+ - - -- test of large float/integer indices - diff --git a/dev-lang/lua/lua-5.4.4-r103.ebuild b/dev-lang/lua/lua-5.4.4-r103.ebuild deleted file mode 100644 index ebfa8021edc3..000000000000 --- a/dev-lang/lua/lua-5.4.4-r103.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic optfeature - -DESCRIPTION="A powerful light-weight programming language designed for extending applications" -HOMEPAGE="https://www.lua.org/" -# tarballs produced from ${PV} branches in https://gitweb.gentoo.org/proj/lua-patches.git -SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.tar.xz" - -LICENSE="MIT" -SLOT="5.4" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+deprecated readline" - -DEPEND=" - >=app-eselect/eselect-lua-3 - readline? ( sys-libs/readline:= ) - !dev-lang/lua:0" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${P}-lparser-overread.patch" -) - -src_prepare() { - default - - if use elibc_musl; then - # locales on musl are non-functional (#834153) - # https://wiki.musl-libc.org/open-issues.html#Locale-limitations - sed -e 's|os.setlocale("pt_BR") or os.setlocale("ptb")|false|g' \ - -i tests/literals.lua || die - fi -} - -src_configure() { - use deprecated && append-cppflags -DLUA_COMPAT_5_3 - econf $(use_with readline) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - eselect lua set --if-unset "${PN}${SLOT}" - - optfeature "Lua support for Emacs" app-emacs/lua-mode -} |