Files
RedBear-OS/recipes/emulators/dosbox/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

25 lines
1.2 KiB
Diff

diff -rupNw source-original/include/cross.h source/include/cross.h
--- source-original/include/cross.h 2010-05-10 19:43:54.000000000 +0200
+++ source/include/cross.h 2018-05-04 21:14:40.397157710 +0200
@@ -64,7 +64,7 @@
//Solaris maybe others
#if defined (DB_HAVE_NO_POWF)
#include <math.h>
-static inline float powf (float x, float y) { return (float) pow (x,y); }
+//static inline float powf (float x, float y) { return (float) pow (x,y); }
#endif
class Cross {
diff -rupNw source-original/src/gui/sdlmain.cpp source/src/gui/sdlmain.cpp
--- source-original/src/gui/sdlmain.cpp 2010-05-10 19:43:54.000000000 +0200
+++ source/src/gui/sdlmain.cpp 2018-05-04 21:15:31.937672555 +0200
@@ -1518,7 +1518,7 @@ void Config_Add_SDL() {
Pstring = sdl_sec->Add_path("mapperfile",Property::Changeable::Always,MAPPERFILE);
Pstring->Set_help("File used to load/save the key/event mappings from. Resetmapper only works with the defaul value.");
- Pbool = sdl_sec->Add_bool("usescancodes",Property::Changeable::Always,true);
+ Pbool = sdl_sec->Add_bool("usescancodes",Property::Changeable::Always,false);
Pbool->Set_help("Avoid usage of symkeys, might not work on all operating systems.");
}