Skip to content

Switch: refresh the abseil patch for the abseil commit Dawn pins - #21

Closed
TomasUribe wants to merge 1 commit into
dorPXP:android-portfrom
TomasUribe:switch-abseil-patch
Closed

TomasUribe wants to merge 1 commit into
dorPXP:android-portfrom
TomasUribe:switch-abseil-patch

Conversation

@TomasUribe

Copy link
Copy Markdown
Contributor

abseil-nintendo-switch-platform.patch does not apply to the abseil Dawn uses at the pinned commit (13abc3bc, third_party/abseil-cpp at d16e32215c3a):

error: patch failed: absl/base/internal/sysinfo.cc:461
error: patch failed: absl/debugging/internal/elf_mem_image.h:35

The elf_mem_image.h condition at that commit also excludes __XTENSA__ and doesn't have the __native_client__ line the patch expects. The sysinfo.cc hunk only applies with an offset and fuzz.

I regenerated the patch from that abseil checkout. The changes are the same (the __SWITCH__ GetTID branch, __SWITCH__ added to the ELF_MEM_IMAGE exclusion with the same comment, and the time_zone_libc change). git apply --check now succeeds on a clean checkout.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dorPXP

dorPXP commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Thanks! I couldn't merge this one as it was, because the old patch is still needed for the abseil version our build fetches (20240722.0): it applies there, and yours does not. Yours is correct for the abseil commit Dawn pins, so I kept both: the old one stays, and yours is saved as aurora-main/cmake/patches/abseil-dawn-pinned-nintendo-switch-platform.patch (78cde65, with credit to you). Closing this since the content is in android-port now.

@dorPXP dorPXP closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants