Created attachment 221805 [details]
poudriere build log for dahdi-kmod26 on 12.2
So... neither of these two ports compile. I've attached the poudriere build log to this ticket.
If you examine the file GpakApi.c with an editor that treats a TAB as 8 spaces, you'll see quite a bit of indention madness. If you squint, however, it all makes sense at TAB as 4 spaces.
The simplest fix for this port is to remove the -Wmisleading-indentation from the compile.
How is that done?
Adding some detail:
This compiles on 12.1 (and fails on 12.2). I'm not yet sure if -Wmisleading-indentation was inserted in between (in, say, ports.mk or somesuch).
Created attachment 221906 [details]
patch for misc/dahdi-kmod
Created attachment 221907 [details]
patch for misc/dahdi-kmod26
Patches fix things, checked on 12.1 and 12.2
In Short, turn off -Werror.
And if the maintainer wants out, I have an interest in maintaining this port as I'm using it.