NetBSD iconv(3) function doesn't conform to POSIX standards/33125: POSIX, const char parameters for telldir and iconv As a result some packages fail to build. What is the best way to fix this issue? Patching and #ifdef-ing? -- Best regards, Aleksey Cheusov.