Opened 5 years ago
Closed 5 years ago
#59804 closed defect (fixed)
libfilezilla @0.19.1: error: use of undeclared identifier 'AT_SYMLINK_NOFOLLOW'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | lhaeger (Lothar Haeger) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | libfilezilla |
Description
libfilezilla fails to build on 10.9 and earlier:
local_filesys.cpp:171:55: error: use of undeclared identifier 'AT_SYMLINK_NOFOLLOW' return fstatat(dirfd(dir), path, &buf, follow ? 0 : AT_SYMLINK_NOFOLLOW); ^ local_filesys.cpp:173:9: error: no matching function for call to 'get_file_info_impl' return get_file_info_impl(do_stat, path, dir, is_link, size, modification_time, mode); ^~~~~~~~~~~~~~~~~~ local_filesys.cpp:104:21: note: candidate function not viable: no known conversion from '(lambda at local_filesys.cpp:169:17)' to 'int (*)(struct stat &, const char *, DIR *, bool)' for 1st argument local_filesys::type get_file_info_impl(int(*do_stat)(struct stat & buf, char const* path, DIR* dir, bool follow), char const* path, DIR* dir, bool &is_link, int64_t* size, datetime* modification_time, int *mode) ^ 2 errors generated. make[1]: *** [libfilezilla_la-local_filesys.lo] Error 1
The legacysupport portgroup should help with the first error at least.
Change History (2)
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Looks like that fixed it.
Note: See
TracTickets for help on using
tickets.
In 2cf31600be4366bf82b76c6c71b6f06aa50d3876/macports-ports (master):