summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorRaphael Borun Das Gupta <git@raphael.dasgupta.ch>2020-10-11 15:32:17 +0200
committerRaphael Borun Das Gupta <git@raphael.dasgupta.ch>2020-10-11 15:32:17 +0200
commit4406883af179fc5962302b07ee6ce511f6f81d94 (patch)
tree61f11eabde54d64518b08a13a597012474a8746f /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentf1e628e7afbf4a6ccd976f865271955ed0d8575e (diff)
foundationdb: fix "was not declared" build errors
Since glibc 2.28, `<sys/types.h>` no longer includes `<sys/sysmacros.h>`, which provides these macros, so we have to explicitly import the latter, too, to fix the following build problems: flow/Platform.cpp: In function 'void getDiskStatistics(const string&, uint64_t&, uint64_t&, uint64_t&, uint64_t&, uint64_t&, uint64_t&)': flow/Platform.cpp:626:56: error: 'gnu_dev_major' was not declared in this scope if(majorId == (unsigned int) gnu_dev_major(buf.st_dev) && minorId == (unsigned int) gnu_dev_minor(buf.st_dev)) { ^ flow/Platform.cpp:626:111: error: 'gnu_dev_minor' was not declared in this scope if(majorId == (unsigned int) gnu_dev_major(buf.st_dev) && minorId == (unsigned int) gnu_dev_minor(buf.st_dev)) { ^
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions