Sunday, May 21, 2023

Re: dhcpcd consistently terminates

On 5/21/23 02:27, Stuart Henderson wrote:
> Can you try the port diff below and confirm it's working for you
> please?

I am already running master, and it works fine. I can try the port diff
if you are willing to hold my hand. I have never done anything with
ports. /usr/src is only 3 GiB in size too.

> I don't see a reason not to backport this if it works.

I was under the impression that ports are almost always updated for
snapshots only and not Release.

Tangentially related to this. When I compiled the code, I received a few
warnings; one of which Roy Marples said is due to an "OpenBSD header that
needs fixing". This is the compilation warning that I get:

if.c:909:30: warning: cast from 'char *' to 'struct cmsghdr *' increases
required alignment from 1 to 4 [-Wcast-align]
cm = (struct cmsghdr *)CMSG_NXTHDR(msg, cm))
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/socket.h:537:6: note: expanded from macro 'CMSG_NXTHDR'
(struct cmsghdr *)((char *)(cmsg) + _ALIGN((cmsg)->cmsg_len)))

Do you know anything about that?

No comments:

Post a Comment