HomeFreeBSD

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

Description

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

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.

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

PR: 231256
Approved by: sunpoet
Differential Revision: https://reviews.freebsd.org/D17157

Details

Committed
edSep 13 2018, 7:26 PM
Differential Revision
D17157: lang/ruby2[345]: Improve qsort_r() detection
Parents
rP479691: Add spc2it 0.3.14.g4.f165.e, convert SPC files to IT (Impulse Tracker)
Branches
Unknown
Tags
Unknown