mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
The Quake homebrew's libOSMesa.so.8 imports qsort_s, the only strong import left unresolved once its symbol names resolve through NIDs. qsort_s sorts as qsort does, with the context passed as the comparator's third argument, and returns EINVAL after calling the constraint handler for the runtime constraint violations of FreeBSD 13's qsort_s. The sort helpers take any comparator so both functions share the FreeBSD 11 algorithm.