how about a 'snowleopardfixes' library port?

Ryan Schmidt ryandesign at
Wed Aug 24 13:31:00 PDT 2016

On Aug 24, 2016, at 3:06 AM, Rainer Müller wrote:

> On 2016-08-23 19:13, Ryan Schmidt wrote:
>> I would prefer you work with the developers of the affected software packages to get the necessary compatibility functions into their sources. This will help all Snow Leopard users, not just those using MacPorts.  
> I agree that fixing bugs in upstream is preferable.
> However, the functions getline() and strnlen() were already standardized
> in POSIX.1-2008. Assuming these functions to be available is reasonable
> today. I would totally understand if upstream rejects the burden of
> supporting legacy systems.

I've certainly encountered such upstream developers.

If we can provide an implementation of getline and strnlen with MacPorts base, that is suitably licensed, and automatically use it when compiling any port with MacPorts, that might be neat. Not sure how.

More information about the macports-dev mailing list