1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 04:57:44 +00:00

Ports: Update the CMake platform module from upstream

While we're at it, remove the `/bin/sh` patch that is no longer needed,
as we now build the port fully on the host.
This commit is contained in:
Tim Schumacher 2022-07-22 14:48:41 +02:00 committed by Linus Groh
parent 9956d3d1e1
commit a39a341e26
7 changed files with 124 additions and 105 deletions

View file

@ -11,29 +11,11 @@ We don't support SIGINFO. This patch removes uses of SIGINFO.
- [X] Resolves issue(s) with our side of things
- [ ] Hack
## `0002-bin-bash.patch`
## `0002-SerenityOS-Add-Platform-module.patch`
/bin/bash
SerenityOS: Add Platform module
This patch swaps out /bin/sh for /bin/bash in two scripts that need it.
- [X] Local?
- [ ] Should be merged to upstream?
- [ ] Resolves issue(s) with our side of things
- [ ] Hack
## `0003-Platform-SerenityOS.patch`
Platform/SerenityOS
This patch adds the SerenityOS platform config file to CMake.
- [ ] Local?
- [X] Should be merged to upstream? If we want to have cmake support serenity out of the box.
- [ ] Resolves issue(s) with our side of things
- [ ] Hack
## `0004-cmcurl-Include-unistd.patch`
## `0003-cmcurl-Include-unistd.patch`
cmcurl: Include unistd
@ -44,7 +26,7 @@ Everyone gets this wrong. Most platforms are very lax with these includes, but w
- [ ] Resolves issue(s) with our side of things
- [ ] Hack
## `0005-cmcurl-Use-struct-stat-and-include-sys-stat.h.patch`
## `0004-cmcurl-Use-struct-stat-and-include-sys-stat.h.patch`
cmcurl: Use struct stat and include sys/stat.h
@ -55,7 +37,7 @@ For unknown reasons, curl_setup_once.h does not include sys/stat.h. This patch i
- [X] Resolves issue(s) with our side of things
- [X] Hack
## `0006-CMake-Disable-tests.patch`
## `0005-CMake-Disable-tests.patch`
CMake: Disable tests