From fbfc078e9f44c1c1e95c9c484f1d5650bcf631b7 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 27 Jul 2024 16:57:39 -0400 Subject: lots and lots of userspace stuff --- patches/gcc-memory.patch | 2 ++ patches/mintsuki-stddef.patch | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 patches/gcc-memory.patch create mode 100644 patches/mintsuki-stddef.patch (limited to 'patches') diff --git a/patches/gcc-memory.patch b/patches/gcc-memory.patch new file mode 100644 index 0000000..9cdc9e2 --- /dev/null +++ b/patches/gcc-memory.patch @@ -0,0 +1,2 @@ +67a68 +> #include diff --git a/patches/mintsuki-stddef.patch b/patches/mintsuki-stddef.patch new file mode 100644 index 0000000..4f98cc2 --- /dev/null +++ b/patches/mintsuki-stddef.patch @@ -0,0 +1,14 @@ +diff --git a/stddef.h b/stddef.h +index 376eb75..fb1e99d 100644 +--- a/stddef.h ++++ b/stddef.h +@@ -50,4 +50,9 @@ typedef decltype(nullptr) nullptr_t; + # define unreachable() __builtin_unreachable() + #endif + ++typedef struct { ++ long long ll __attribute__((__aligned__(__alignof__(long long)))); ++ long double ld __attribute__((__aligned__(__alignof__(long double)))); ++} max_align_t; ++ + #endif -- cgit v1.2.3