# Patches for quake3 on Minerva ## `0001-Meta-Refactor-Makefile-to-support-Minerva.patch` Meta: Refactor Makefile to support Minerva ## `0002-Engine-Add-Minerva-so-q_platform.h.patch` Engine: Add Minerva so `q_platform.h` ## `0003-Engine-Add-sys-select.h-include-for-Minerva.patch` Engine: Add `<sys/select.h>` include for Minerva QuakeIII makes extensive use of the `select()` syscall for its' netcode. It seems that Linux has this in a header that isn't `<sys/select.h>` like us, which results in an implicit declaration error. ## `0004-Meta-Add-ldl-library-for-Minerva-target.patch` Meta: Add `-ldl` library for Minerva target ## `0005-Engine-Move-ifdef-to-more-sensible-location.patch` Engine: Move `#ifdef` to more sensible location No linker errors in this dojo! ## `0006-Meta-Add-ARCH-to-TOOLS_CFLAGS.patch` Meta: Add ARCH to TOOLS_CFLAGS ## `0007-Meta-Remove-extension-from-main-game-exe.patch` Meta: Remove extension from main game exe ## `0008-Engine-Use-Minerva-style-PROT_EXEC-mmap.patch` Engine: Use Minerva style PROT_EXEC mmap The code for this was really old and crusty, so let's `ifdef` it out and use some more friendly Minerva style memory code.