Created attachment 242334 [details] Patch for libevent * Switch to CMake * Make use of more framework logic * Drop options, thread support is now mandatory and most if not all distros ships with OpenSSL support Compile tested on FreeBSD 13.2-RELEASE (amd64) (make, make test, make check-plist) Poudriere testport OK 12.4-RELEASE (amd64) Poudriere testport OK 13.2-RELEASE (amd64)
Gentoo are also looking into this, currently known ports in tree that are broken. lang/crystal net-p2p/namecoin* - Incompatible with new version net-p2p/qtum - Unrelated (configure: error: libgmp missing)? devel/gearmand - Ancient version in tree, deprecate as it's unmaintained? finance/odoo*@py39 - Fails in stage-qa (seems unrelated) net-p2p/litecoin* - Incompatible with new version net-p2p/zetacoin-daemon - Incompatible with new version sysutils/tmux: Runtime issues, https://github.com/libevent/libevent/issues/1460 databases/xtrabackup8 - Fails in stage-qa (seems unreadlated, plist issue)
Duplicate of bug 271563?
(In reply to throwaway_vthgwq4 from comment #2) Ahh, thanks for the heads up!
*** Bug 271563 has been marked as a duplicate of this bug. ***
Created attachment 242366 [details] Patch for libevent v2 Fix build/plist with WITH_DEBUG is defined
I guess I also should clarify my reasoning about dropping options, by mantory I was referring to "everyone" ships with these enabled by default so it makes little sense to break consumers for no apparent reason than saving a few kilobytes.
Created attachment 242631 [details] Patch for libevent v3 Refresh patch
net-p2p/namecoin - Compiles as of f7ca7eba9e9c3c08e3d1d233529c8c1933ebd5c4 net-p2p/qtum - Removed as of ad75dcf54905e2cea48dd61227198ee0da61237f net-p2p/zetacoin* - Removed as of da865ce73dafcfb4d033863ad27f7043cb206237