Created attachment 204224 [details]
nfsdumpstate.c - define nbuf only if INET6 is defined
If WITHOUT_INET6 is set to "yes" the base system build fails due to an unused variable into nsfdumpstate.c (char nbuf[INET6_ADDRSTRLEN]), which is defined in two different functions: I propose a patch that declares the variable only if INET6 is defined.
I tested successfully with 12.0-Stable r347145.
This is already fixed in head/ in r346856 and will be merged into stable/12 soon.
This looks to be resolved (in head) in base r346856 by rmacklem, marked for MFC (1 week)
Leave In Progress until MFC is complete. Not sure if this applies to stable/11 (have requested with ?), set flag to - if it doesn't apply.
Oh, sorry. I should have checked better. Will do next time. Thanks.
The patch has been MFC'd.
MFC stable/10 in base r347174
MFC stable/11 in base r347172
MFC stable/12 in base r347171
@Rick Thanks for that! If you could include PR: references in MFC's as well that will ensure they are tracked (and linked) in Bugzilla comments instead of having to manually do it