fix(libSceFreeTypeOl): export only NID symbols on macOS #14883
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14883"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Gonic0 on 2026-11-01T22:19:01Z.
What
On Linux and MinGW,
libSceFreeTypeOllinks FreeType with--exclude-libs,ALL, so only the module's own exports reach the NID patcher. ld64 has no equivalent, so on macOS everyFT_*symbol of the static FreeType is exported as well.The native
FT_Add_Modulepatches toLonHHN98tMI, which the module already exports forsceFreeTypeOlAddModule. The patcher then stops:This PR adds
-exported_symbol,*_nid_*for Apple, the same filter #9848 adds forlibSceFreeType.Tested
Tested on macOS 27.2 with an Apple M5 Pro and AppleClang, building x86_64 for Rosetta 2.
maindoes not build libkernel on macOS, so the module was built on a tree with this commit applied over local macOS build fixes:libSceFreeTypeOl.prxfails NID patching with the error above.*_nid_*.guest_freetype_ol_modulesand the 9guest_freetype_outline_border_*tests (raw and patched, Ol and Ot) pass.Overlap: #9848 covers
libSceFreeTypeonly and does not touch this file.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code