Created attachment 251464 [details] Patch for modsecurity3 Backport patch from Arch Linux to fix build with libxml2 2.12 and newer And while at it disable autodetection of (lib)pcre2 Reference: https://gitlab.archlinux.org/archlinux/packaging/packages/libmodsecurity/-/blob/main/libxml-includes.patch?ref_type=heads Compile tested on FreeBSD 14.0-RELEASE (amd64) (make, make check-plist) Poudriere testport OK 13.2-RELEASE (amd64) Poudriere testport OK 14.0-RELEASE (amd64)
Poudriere testport OK 13.2-RELEASE (amd64) - With current version of libxml2 in tree
Fixed in later iterations of libxml2, https://pdr2.bofh.network/data/140-diizzy/libxml2-libxslt/logs/modsecurity3-3.0.12.log