diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-04-20 17:57:02 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-04-20 17:57:02 +0800 |
commit | a5677bc0390e2c0db0c0b8d4353b7423c555894b (patch) | |
tree | 98aeb4a8c511beb1bf9bd11ed2275a6167d75f8c /patches | |
parent | ad9c801edb13568657c0964ebfb74257da6d9e00 (diff) |
getpwuid_r, which is declared in /usr/include/pwd.h, somehow is always
missed by, at least the custom, libcurl compiling process. I tried
defining __USE_POSIX so the getpwuid_r part in pwd.h is included, I also
tried undefining HAVE_GETPWUID_R so the getpwuid_r part in curl/lib/netrc.c
is skipped (respectively using -D and -U CPPFLAGS ENV setting in
indra/cmake/CURL.cmake), with no success.
So just force the getpwuid_r part in netrc.c to be skipped by
substituting defined(HAVE_GETPWUID_R) with 0.
Diffstat (limited to 'patches')
0 files changed, 0 insertions, 0 deletions