> Hi, I'm getting build failures with pkgsrc wm/cde on recent NetBSD-9.4.
> This seems to be related to SSP hardening, so not sure if this change
> is recent with this version of NetBSD.
>
> This package used to build OK on NetBSD-9.3. Has anything changed with
> regard to getcwd() on NetBSD-9.4?
>
> Configure script checks if getcwd() is implemented, doesn't find it and
> provides its own implementation, which then conflicts with symbols in
> /usr/include/ssp/unistd.h

I really doubt getcwd has changed.  man says its it libc via unistd.h
and appeared in 4.0BSD.

So the problem is the configure script not finding it.  Fix that instead
of worrying about what happens when it's not found.

Reply via email to