From 28cf9ff201576a1eb76b7567d4ac836eaf37d4ec Mon Sep 17 00:00:00 2001 From: Tomas-Uribe <22968303+TomasUribe@users.noreply.github.com> Date: Tue, 3 Nov 2026 11:37:00 -0500 Subject: [PATCH] Switch: refresh the abseil patch for the abseil commit Dawn pins Co-Authored-By: Claude Opus 5.5 --- .../abseil-nintendo-switch-platform.patch | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/aurora-main/cmake/patches/abseil-nintendo-switch-platform.patch b/aurora-main/cmake/patches/abseil-nintendo-switch-platform.patch index 846cd93..fa22add 100644 --- a/aurora-main/cmake/patches/abseil-nintendo-switch-platform.patch +++ b/aurora-main/cmake/patches/abseil-nintendo-switch-platform.patch @@ -11,8 +11,8 @@ #if defined(__APPLE__) || defined(__FreeBSD__) #include #endif -@@ -461,6 +465,18 @@ - return reinterpret_cast(thread); +@@ -465,6 +469,18 @@ pid_t GetTID() { + return static_cast(zx_thread_self()); } +#elif defined(__SWITCH__) @@ -32,13 +32,12 @@ // Fallback implementation of `GetTID` using `pthread_self`. --- a/absl/debugging/internal/elf_mem_image.h +++ b/absl/debugging/internal/elf_mem_image.h -@@ -35,7 +35,13 @@ - #if defined(__ELF__) && !defined(__OpenBSD__) && !defined(__QNX__) && \ - !defined(__native_client__) && !defined(__asmjs__) && \ - !defined(__wasm__) && !defined(__HAIKU__) && !defined(__sun) && \ -- !defined(__VXWORKS__) && !defined(__hexagon__) -+ !defined(__VXWORKS__) && !defined(__hexagon__) && \ -+ !defined(__SWITCH__) +@@ -35,7 +35,12 @@ + #if defined(__ELF__) && !defined(__OpenBSD__) && !defined(__QNX__) && \ + !defined(__asmjs__) && !defined(__wasm__) && !defined(__HAIKU__) && \ + !defined(__sun) && !defined(__VXWORKS__) && !defined(__hexagon__) && \ +- !defined(__XTENSA__) ++ !defined(__XTENSA__) && !defined(__SWITCH__) +// __SWITCH__ (Nintendo Switch homebrew, devkitA64/libnx): the .nro output is derived from an +// ELF binary (so __ELF__ is defined), but devkitA64/newlib has no - this whole feature +// is glibc's dynamic-linker ELF introspection API (dl_phdr_info, ElfW macros), which has no @@ -49,7 +48,7 @@ --- a/absl/time/internal/cctz/src/time_zone_libc.cc +++ b/absl/time/internal/cctz/src/time_zone_libc.cc -@@ -61,8 +61,13 @@ +@@ -61,8 +61,13 @@ auto tm_zone(const std::tm& tm) -> decltype(tzname[0]) { return tzname[is_dst]; } #elif defined(__native_client__) || defined(__myriad2__) || \