strchrnul added in 15.4

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Fri Apr 18 19:44:31 UTC 2025


David, please apply this fix for PostgreSQL 16/17.  I am tripping over this
while trying to fix https://trac.macports.org/ticket/72215, the certsync
problem, which itself is breaking other things.  Thank you.


On Tue, Apr 8, 2025 at 2:04 PM Ryan Carsten Schmidt <ryandesign at macports.org>
wrote:

> On macOS 15, MacPorts will set MACOSX_DEPLOYMENT_TARGET to 15.0. Similar
> for any other macOS version. (The minor macOS version is not included in
> the deployment target.)



On Tue, Apr 8, 2025 at 11:03 AM David Gilman <davidgilman1 at gmail.com> wrote:

> Note that macOS 15.4 added strchrnul to the C standard library. It's
> behind the MACOSX_DEPLOYMENT_TARGET of 15.4 or greater, however, in at
> least some cases a configure script could find strchrnul only to have
> failures at build time when MACOSX_DEPLOYMENT_TARGET is defined. If
> there are any ports, or the builders/the port system itself is
> definining MACOSX_DEPLOYMENT_TARGET to 15.0 they are at risk of
> tripping this when building on 15.4.
>
> This happened in PostgreSQL, there is a patch to their configure.ac
> and a discussion here.
>
> https://www.postgresql.org/message-id/flat/E1tziZ6-002AW9-2C%40gemulon.postgresql.org
> I can fix the issue in the PostgreSQL ports in MacPorts but giving you
> all a notice if you see it elsewhere.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20250418/b2e1dc05/attachment.htm>


More information about the macports-dev mailing list