Files
RedBear-OS/recipes/wip/db/mariadb/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

14 lines
512 B
Diff

diff -ruwN source/mysys/mysys_priv.h source-new/mysys/mysys_priv.h
--- source/mysys/mysys_priv.h 2025-11-14 00:00:49.000000000 +0700
+++ source-new/mysys/mysys_priv.h 2026-03-14 05:20:38.369176577 +0700
@@ -142,7 +142,7 @@
#endif
#endif
-#ifdef O_PATH
+#if defined(O_PATH) && !defined(__redox__) /* need openat */
#define HAVE_OPEN_PARENT_DIR_NOSYMLINKS
const char *my_open_parent_dir_nosymlinks(const char *pathname, int *pdfd);
#define NOSYMLINK_FUNCTION_BODY(AT,NOAT) \