Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: current tools no longer build on 9.3
In article <94d47ed5-b1fe-419f-b2ce-5b87eb63952d%shangtai.net@localhost>,
Staffan Thomén <staffan%shangtai.net@localhost> wrote:
>Hey,
>
>It seems that an assumption has been made in lib/libc/time/zic.c where
>HAVE_GETRANDOM is unconditionally defined for NetBSD builds. This
>(linux, non-standard function with an amusingly scathing BUGS section in
>the man page) function was introduced in 10.0 and causes builds on
>earlier releases to fail tools.
>
>The change seems to have been made in version 1.96 of the file in
>december 2025.
>
>Just removing the HAVE_GETRANDOM define seems to make it build on my 9.3
>build system. I would hope that we don't consider netbsd-9 too obsolete
>to build on... perhaps this could be __NetBSD_Version__ gated if it's
>desired?
Sure, send a patch :-)
christos
Home |
Main Index |
Thread Index |
Old Index