diff options
| author | Steve Purcell <steve@sanityinc.com> | 2024-05-06 18:21:42 +0100 |
|---|---|---|
| committer | Steve Purcell <steve@sanityinc.com> | 2024-05-06 18:21:42 +0100 |
| commit | d19362526fb242b835336691f24950609b769e50 (patch) | |
| tree | 2ef92206c8b7c60a86f40ad8cf2084ff129922b3 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | e049102f0fb2d47c888a2c1a4007b19c0d73cf96 (diff) | |
libdevil: fix compilation on Darwin with clang
Compilation fails now that the default C++ standard is 17, because the
(rather old) upstream code uses the "register" keyword.
./../src-IL/include/il_manip.h:63:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register int m = i & 0x007fffff;
^~~~~~~~~
We could selectively set -std=c++14, but it also seems sufficient to
suppress the warning, so this commit chooses that option.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
