Pangolin
Pangolin copied to clipboard
Build fails: error: use of undeclared identifier 'S_IRUSR'
/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:19: error: use of undeclared identifier 'S_IRUSR'
mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
^
/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:29: error: use of undeclared identifier 'S_IWUSR'
mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
^
/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:39: error: use of undeclared identifier 'S_IRGRP'
mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
^
/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:49: error: use of undeclared identifier 'S_IWGRP'
mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
^
/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:59: error: use of undeclared identifier 'S_IROTH'
mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
^
5 errors generated.
#include <sys/stat.h>
is forgotten.
Version: 0.8 FreeBSD 13
Thanks! I'll try to add this next time I remember or you could raise a pull request.
best