Created attachment 228101 [details] patch
If it's of interest I can give it a try to convert this port to using meson which should reduce the amount of hacks/patching and the ones we need should be relatively easy to upstream.
(In reply to Daniel Engberg from comment #1) I just spotted that it was outdated because it was a dependency of one of the ports I updated. But change to meson would be nice too.
Patch looks good. Feel free to take maintainership. I no longer use it.
Tijl, I wouldn't take maintainership at this time because I also don't use it. It was a dependency. Daniel, Please feel free to open a separate PR for the meson change. Committed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c8e7a808895bfbb8d82ccd3489b9563cad3c7242 commit c8e7a808895bfbb8d82ccd3489b9563cad3c7242 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-09-21 18:29:36 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-09-21 18:32:15 +0000 net/libsrtp2: Update 2.4.1 -> 2.4.2 PR: 258667 Approved by: tijl (maintainer) net/libsrtp2/Makefile | 5 ++++- net/libsrtp2/distinfo | 6 +++--- net/libsrtp2/files/patch-3a5d26c4 (gone) | 13 ------------- 3 files changed, 7 insertions(+), 17 deletions(-)