Files
RedBear-OS/recipes/wip/libs/other/libicu/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

13 lines
572 B
Diff

diff -ruwN icu/source/common/unicode/ptypes.h source/source/common/unicode/ptypes.h
--- icu/source/common/unicode/ptypes.h 2025-03-13 12:31:23.000000000 -0600
+++ source/source/common/unicode/ptypes.h 2025-04-11 13:46:44.105116183 -0600
@@ -56,7 +56,7 @@
// implementations (looking at you, Apple, spring 2024) actually do this, so
// ICU4C must detect and deal with that.
#if !defined(__cplusplus) && !defined(U_IN_DOXYGEN)
-# if U_HAVE_CHAR16_T
+# if U_HAVE_CHAR16_T && !defined(__redox__)
# include <uchar.h>
# else
typedef uint16_t char16_t;