Created attachment 218144 [details] patch to enable xchacha This patch enables configuring the build to discover that xchacha _is_ available in libsodium.
Created attachment 218203 [details] patch to enable xchacha v2
Thank you very much for your report! I've adjusted your suggested patch to use the autoconf support already provided by FreeBSD's make files, rather than running "make config" manually. The result should be the same, but can you test the new patch I've attached and confirm it still gives your desired result?
Yes, much nicer, thanks.
Comment on attachment 218203 [details] patch to enable xchacha v2 Great! I'm approving the more recent, "v2" patch attached. Someone will hopefully apply it to the ports tree soon! Thanks again for your contribution.
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/220812742
A commit references this bug: Author: pizzamig Date: Sun Jan 31 15:02:51 UTC 2021 New revision: 563492 URL: https://svnweb.freebsd.org/changeset/ports/563492 Log: dns/dnscrypt-wrapper: enable xchacha20 detection Detect and enable xchacha20 via autoconf. PR: 249506 Submitted by: Felix Hanley <felix@userspace.com.au> Approved by: Will <freebsd@toyingwithfate.com> (maintainer) Changes: head/dns/dnscrypt-wrapper/Makefile
Committed! Thanks!