Try looking at patches in FreeBSD port, this attempt was done before the
switch to clang.
I stopped working on it after I'd got it to build and started to look at
how to configure it and realised that this was much more complex than I
wanted to be looking after.
In hindsight if I'd looked at
As pointed out there is an openbsd wip port for zoneminder. So I tried it.
I put together a spare server (x86) with the latest snapshot of openbsd and
ports. Then I copied in the wip port for zoneminder and did a make build.
It got right down to the build of the zoneminder code before it quit with