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

Ports: Update the citron patches after upstreaming a few

This also switches to checking out a specific commit instead of just the
master HEAD, as the port linter requires a hash (which is imo pointless
in this case), and we can't provide a stable hash for the master branch
HEAD.
This commit is contained in:
Ali Mohammad Pur 2022-02-13 17:06:03 +03:30 committed by Ali Mohammad Pur
parent 4b412e8fee
commit b760a1a4ba
23 changed files with 135 additions and 529 deletions

View file

@ -1,95 +1,53 @@
# Patches for citron on SerenityOS
## `0001-Remove-m-tune-arch-native.patch`
Remove -m(tune arch)=native
## `0002-Don-t-use-execinfo-on-serenity.patch`
Don't use execinfo on serenity
## `0003-Get-rid-of-wordexp-on-serenity.patch`
## `0001-Get-rid-of-wordexp-on-serenity.patch`
Get rid of wordexp on serenity
## `0004-Use-fcntl.h-on-serenity.patch`
Use <fcntl.h> on serenity
## `0005-Pull-arc4random-from-stdlib.h.patch`
Pull arc4random from stdlib.h
## `0006-Don-t-use-prctl.patch`
Don't use prctl
## `0007-Make-fiber-a-noop.patch`
## `0002-Make-fiber-a-noop.patch`
Make fiber a noop
Serenity doesn't have ucontext.
## `0008-Make-coroutines-a-noop.patch`
## `0003-Make-coroutines-a-noop.patch`
Make coroutines a noop
Serenity doesn't have ucontext.
## `0009-Use-setjmp-for-callcc.patch`
Use setjmp for callcc
## `0010-Don-t-mess-with-libsocket.patch`
## `0004-Don-t-mess-with-libsocket.patch`
Don't mess with libsocket
## `0011-Disable-inject.patch`
## `0005-Disable-inject.patch`
Disable inject
tcc requires ucontext.
## `0012-Use-unsigned-short-int-instead-of-u-short-int.patch`
Use unsigned (short int) instead of u(short int)
## `0013-Disable-openmp.patch`
## `0006-Disable-openmp.patch`
Disable openmp
## `0014-Yoink-out-libs.patch`
Yoink out libs
## `0015-Make-boehm-gc-optional.patch`
Make boehm gc optional
## `0016-don-t-build-tcc-for-no-reason.patch`
don't build tcc for no reason
## `0017-Respect-DESTDIR.patch`
Respect DESTDIR
## `0018-Disable-GC-on-serenity.patch`
## `0007-Disable-GC-on-serenity.patch`
Disable GC on serenity
## `0008-Don-t-use-libbsd-on-serenity.patch`
Don't use libbsd on serenity
arc4random exists on serenity, there's no need to pull libbsd in for
functionality that already exists.
## `0009-Disable-boehm-GC-on-serenity.patch`
Disable boehm GC on serenity
Serenity doesn't have a bdwgc port, so disable it here.