FS#78886 - [luajit] Enable -DLUAJIT_ENABLE_LUA52COMPAT

Attached to Project: Arch Linux
Opened by Xeonacid (Xeonacid) - Sunday, 25 June 2023, 08:09 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Daurnimator (daurnimator)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No



-DLUAJIT_ENABLE_LUA52COMPAT adds extra features from lua52.

Although LuaJIT doc[1] suggests that some things might be broken, but:
* Fedora thinks this should not break anything and enable by default.[2]
* Gentoo thinks this is unlikely to break existing code and has a flag to enable.[3]

Enabling this would help packages like howl[4] to use system luajit instead of vendoring. Please consider. Thanks.

A patch is attached.

[1] https://luajit.org/extensions.html#lua52
[2] https://src.fedoraproject.org/rpms/luajit/pull-request/2
[3] https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-lang/luajit/metadata.xml#n11
[4] https://github.com/howl-editor/howl/issues/503
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:18 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/luajit/issues/1
Comment by Takina Lina (0tkl) - Monday, 31 July 2023, 02:17 GMT