1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-31 15:37:47 +00:00

Ports: Add Mednafen

This commit is contained in:
Luke Wilde 2023-02-27 21:26:27 +00:00 committed by Sam Atkins
parent 3112a6b44f
commit 57cc2bab4b
5 changed files with 89 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# Patches for mednafen on SerenityOS
## `0001-Make-mednafen-compile-with-PIC-PIE.patch`
Make mednafen compile with PIC/PIE
We currently don't support copy relocations and mednafen compiles with
PIC/PIE disabled for performance reasons. This re-enables it and
disables the compiler warning it emits for having it enabled.
## `0002-Replace-PTHREAD_MUTEX_ERRORCHECK-with-PTHREAD_MUTEX_.patch`
Replace PTHREAD_MUTEX_ERRORCHECK with PTHREAD_MUTEX_NORMAL
We currently don't support the PTHREAD_MUTEX_ERRORCHECK mutex type.