<div dir="ltr"><div>David, please apply this fix for PostgreSQL 16/17. I am tripping over this while trying to fix <a href="https://trac.macports.org/ticket/72215">https://trac.macports.org/ticket/72215</a>, the certsync problem, which itself is breaking other things. Thank you.</div><div dir="ltr"><br class="gmail-Apple-interchange-newline"><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Apr 8, 2025 at 2:04 PM Ryan Carsten Schmidt <<a href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">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.)</blockquote></div></div><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Apr 8, 2025 at 11:03 AM David Gilman <<a href="mailto:davidgilman1@gmail.com">davidgilman1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Note that macOS 15.4 added strchrnul to the C standard library. It's<br>
behind the MACOSX_DEPLOYMENT_TARGET of 15.4 or greater, however, in at<br>
least some cases a configure script could find strchrnul only to have<br>
failures at build time when MACOSX_DEPLOYMENT_TARGET is defined. If<br>
there are any ports, or the builders/the port system itself is<br>
definining MACOSX_DEPLOYMENT_TARGET to 15.0 they are at risk of<br>
tripping this when building on 15.4.<br>
<br>
This happened in PostgreSQL, there is a patch to their <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
and a discussion here.<br>
<a href="https://www.postgresql.org/message-id/flat/E1tziZ6-002AW9-2C%40gemulon.postgresql.org" rel="noreferrer" target="_blank">https://www.postgresql.org/message-id/flat/E1tziZ6-002AW9-2C%40gemulon.postgresql.org</a><br>
I can fix the issue in the PostgreSQL ports in MacPorts but giving you<br>
all a notice if you see it elsewhere.<br>
</blockquote></div></div>