pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

does libfetch need pthreads?



Hi,

since rev. 1.21 of net/libfetch/files/http.c (05/02/09), building fails on 
Interix which requires -D_REENTRANT for *_r() calls. Since there is only one 
single reentrant call in libfetch (gmtime_r() in http.c), I wonder if this may 
be a mistake and gmtime() would work, too?

Unless I'm missing something, libfetch's Makefile otherwise needs to include 
pthreads.buildlink3.mk or set -D_REENTRANT some other way in order to compile 
on Interix (and possibly others). Also, pkg_install's Makefile needs to specify 
-D_REENTRANT when building libfetch.

Best regards,

Joachim


Home | Main Index | Thread Index | Old Index