Can't find any patches upstream or in repos fixing this issue, deprecate and remove? Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261302#c46
At this point I'd be fine with just deprecating and removing the port. It's outdated and as far as I can tell on FreshPorts, its only consumer was deleted a while back (the PHP port which also was outdated and unable to build with modern PHP).
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0547aa99ef4161c35a5d6f754955755a735de89d commit 0547aa99ef4161c35a5d6f754955755a735de89d Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-03-25 17:52:48 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-03-25 18:14:19 +0000 multimedia/pHash: Deprecate and set expiration date to 2023-04-09 No users left in tree and fails to build with FFmpeg 6.0 Proposed soft deadline for FFMpeg 6.0 switch is one week after branching of 2023Q2 so keep port around until branching. PR: 270296 Reviewed by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) multimedia/pHash/Makefile | 3 +++ 1 file changed, 3 insertions(+)
Committed, thanks!