Files
RedBear-OS/recipes/wip/services/dbus/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.0 KiB
Diff

diff -ruwN source-old/dbus/dbus-pollable-set-epoll.c source/dbus/dbus-pollable-set-epoll.c
--- source-old/dbus/dbus-pollable-set-epoll.c 2025-02-27 09:29:06.000000000 -0700
+++ source/dbus/dbus-pollable-set-epoll.c 2025-11-14 17:50:42.043671507 -0700
@@ -30,7 +30,7 @@
#include <dbus/dbus-internals.h>
#include <dbus/dbus-sysdeps.h>
-#ifndef __linux__
+#if !defined(__linux__) && !defined(__redox__)
# error This file is for Linux epoll(4)
#endif
diff -ruwN source-old/dbus/dbus-spawn-unix.c source/dbus/dbus-spawn-unix.c
--- source-old/dbus/dbus-spawn-unix.c 2025-02-27 09:29:06.000000000 -0700
+++ source/dbus/dbus-spawn-unix.c 2025-11-15 07:42:03.360862350 -0700
@@ -1326,7 +1326,7 @@
if (!make_pipe (child_err_report_pipe, error))
goto cleanup_and_fail;
- if (!_dbus_socketpair (&babysitter_pipe[0], &babysitter_pipe[1], TRUE, error))
+ if (!_dbus_socketpair (&babysitter_pipe[0], &babysitter_pipe[1], FALSE, error))
goto cleanup_and_fail;
/* Setting up the babysitter is only useful in the parent,