tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: python311 vs expat



* On 2026-03-20 at 09:44 GMT, Adam wrote:

That's because newer expat.h depends on features defined in expat_config.h. In this particular case XML_SetAllocTrackerActivationThreshold is guarded with "#  if defined(XML_DTD) || (defined(XML_GE) && XML_GE == 1)", and XML_DTD, XML_GE, and XML_GE are defined in expat_config.h.

It should be possible to add some builtin.mk checks to handle this, gated on whichever release started requiring it.

I can commit PREFER.expat=pkgsrc solution, if no objection.

I think we should do this for now, and evaluate a more general builtin.mk approach after the freeze.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index