[Bug 220281] Mk/bsd.default-versions.mk: Set Lua 5.3 as default

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Sep 2022 07:52:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220281

--- Comment #17 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=834e273d0233cd36a48d11a0b8dfc3c1331b4ff1

commit 834e273d0233cd36a48d11a0b8dfc3c1331b4ff1
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-09-08 07:50:55 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-09-08 07:51:35 +0000

    www/httest: enable only for lua <= 5.2

    From lua_module.c:
      #if ( LUA_VERSION_NUM == 501 )
        failed = (lua_load(L, lua_get_line, reader, "@client") != 0 ||
                  lua_pcall(L, 0, LUA_MULTRET, 0) != 0);
      #elif ( LUA_VERSION_NUM  == 502 )
        failed = (lua_load(L, lua_get_line, reader, "@client", NULL) != 0 ||
                  lua_pcall(L, 0, LUA_MULTRET, 0) != 0);
      #else
        #error this lua version is not supported
      #endif

    PR:             220281

 www/httest/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.