When building poppler-utils on Darwin, we are getting the following error: ../utils/pdfsig.cc:107:63: error: use of undeclared identifier 'basename' GooString *path = GooString::format(format->getCString(), basename(filename), sig_num); ^ The feature was introduced in https://cgit.freedesktop.org/poppler/poppler/commit/?id=bdece3bb0c115576d23e76dc29ee43f04aafdee0 Possibly libgen.h should be included?
hmmm, i just realized we seem to depend on the GNU version of basename that is part of string.h and takes a const char * instead of a char *. i guess not part of Darwin?
Right, we use LLVM’s libc++ (https://libcxx.llvm.org/).
Fixed by https://cgit.freedesktop.org/poppler/poppler/commit/?id=267228bb071016621c80fc8514927905164aaeea
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.