1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 16:37:46 +00:00

Ports: Update luarocks' patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:52 +04:30 committed by Ali Mohammad Pur
parent 318cc0a188
commit 9424b610ed
3 changed files with 54 additions and 22 deletions

View file

@ -1,8 +1,14 @@
# Patches for LuaRocks on SerenityOS
# Patches for luarocks on SerenityOS
## `luarocks.patch`
## `0001-Setup-the-serenity-platform.patch`
Setup the serenity platform
Setup serenity as a platform and configure `defaults.variables.UNZIP` to
work around our `unzip` command not supporting the flag `-n`
## `0002-Detect-SerenityOS-using-the-uname-command.patch`
Detect SerenityOS using the `uname` command
src/luarocks/core/cfg.lua: Setup serenity as a platform and config `defaults.variables.UNZIP` to work around our `unzip` command not supporting the flag `-n`
src/luarocks/core/sysdetect.lua: Detect SerenityOS using the `uname` command
This should should be upstreamed so next versions of LuaRocks will support Serenity out of the box.