pkgsrc-Users archive

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

does libfetch need pthreads?


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 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,


Home | Main Index | Thread Index | Old Index