Page MenuHomeFreeBSD

lang/ruby2[345]: Improve qsort_r() detection
ClosedPublic

Authored by ed on Sep 13 2018, 7:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 8, 10:45 PM
Unknown Object (File)
Sun, May 5, 12:40 AM
Unknown Object (File)
Wed, May 1, 10:26 AM
Unknown Object (File)
Sat, Apr 27, 2:58 PM
Unknown Object (File)
Sat, Apr 27, 11:53 AM
Unknown Object (File)
Apr 20 2024, 1:19 PM
Unknown Object (File)
Apr 11 2024, 3:14 PM
Unknown Object (File)
Apr 9 2024, 3:05 PM
Subscribers

Details

Summary

This change merges the following upstream pull request into the Ruby
interpreter ports:

https://github.com/ruby/ruby/pull/1954

Adding this patch to these ports will ensure that once we patch up
qsort_r() to be compatible with glibc, Ruby will automatically pick them
up. Ruby should also build fine without this patch, but this will cause
it to use its own implementation, which blows up the binary size
slightly. See FreeBSD bug #231256 and Phabricator review D17083 for
details.

Test Plan

Poudriere runs seem to pass for 11.x amd64. Logs indicate that this
doesn't negatively affect the existing qsort_r() detection:

checking whether qsort_r is GNU version... no
checking whether qsort_r is BSD version... yes

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 19575
Build 19160: arc lint + arc unit