Files
RedBear-OS/recipes/games/prboom/01_redox.patch
T
vasilito 50b731f1b7 Red Bear OS — microkernel OS in Rust, based on Redox
Derivative of Redox OS (https://www.redox-os.org) adding:
- AMD GPU driver (amdgpu) via LinuxKPI compat layer
- ext4 filesystem support (ext4d scheme daemon)
- ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG)
- Custom branding (hostname, os-release, boot identity)

Build system is full upstream Redox with RBOS overlay in local/.
Patches for kernel, base, and relibc are symlinked from local/patches/
and protected from make clean/distclean. Custom recipes live in
local/recipes/ with symlinks into the recipes/ search path.

Build:  make all CONFIG_NAME=redbear-full
Sync:   ./local/scripts/sync-upstream.sh
2026-04-12 19:05:00 +01:00

17 lines
489 B
Diff

diff -burpN source-original/src/m_misc.c source/src/m_misc.c
--- source-original/src/m_misc.c 2008-11-09 10:13:04.000000000 -0700
+++ source/src/m_misc.c 2024-09-07 10:09:06.890301682 -0600
@@ -954,6 +954,12 @@ void M_LoadDefaults (void)
// read the file in, overriding any set defaults
f = fopen (defaultfile, "r");
+#if defined(__redox__)
+ if (f) {
+ printf("disabling load of config file on redox\n");
+ f = NULL;
+ }
+#endif
if (f)
{
while (!feof(f))