pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Review request: update www/privoxy to 4.2.0
On Thu, Aug 13, 2026 at 05:57:07PM +0100, Stepan Ipatov wrote:
> Thanks for the feedback. I more or less understand the reason now — the
> issue seems to be caused by an incorrect use of the AC_TRY_COMPILE macro. It
> checks whether gethostbyname_r() is available in netdb.h by trying to
> compile a test snippet.
>
> The tricky part is that if gethostbyname_r() isn't declared in netdb.h at
> all and isn't in scope, the compiler can still successfully compile the test
> snippet with a warning like 'warning: implicit declaration of function
> 'gethostbyname_r'. As a result, the whole build system can end up relying on
> incorrect detection results.
>
> In 11.99.7, most likely either the compiler behavior changed and it no
> longer allows implicit function declaration, or some implementation of
> gethostbyname_r() was added.
>
> Anyway, I need to run some more tests and think about how to fix this
> properly.
I see you fixed it in wip, thank you. I've committed the update to
pkgsrc.
For bonus points, please report the gethostbyname_r problem upstream
so we can drop the patches for that in a future version.
Thanks,
Thomas
Home |
Main Index |
Thread Index |
Old Index