Enable -DLUAJIT_ENABLE_LUA52COMPAT
| Task Info (Flyspray) | |
|---|---|
| Opened By | Xeonacid (Xeonacid) |
| Task ID | 78886 |
| Type | Bug Report |
| Project | Arch Linux |
| Category | Packages: Extra |
| Version | None |
| OS | All |
| Opened | 2023-06-25 08:09:17 UTC |
| Status | Assigned |
| Assignee | Lukas Fleischer (lfleischer) |
| Assignee | Daurnimator (daurnimator) |
Details
Description:
-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