Re: python311 vs expat
Jonathan Perkin <[email protected]> Fri, 20 Mar 2026 11:51:05 +0000
| Newsgroups | gmane.os.netbsd.devel.packages |
|---|---|
| Message-ID | <[email protected]> |
* 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