summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorDaniel Perry <dperry@danieltperry.me>2023-03-10 15:10:10 -0500
committerDaniel Perry <dperry@danieltperry.me>2023-03-11 19:03:33 -0500
commit254ff60f2799913411afc8436c5bf104608fa363 (patch)
tree3ebeda8279ad5d7a94d3a347f1142e839d56c96d /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent8fba774d113d434dd44e7fba012ada1f8db09d43 (diff)
recastnavigation: fix for darwin build break
Building on Darwin resulted in an error with not being able to find SDL header files. Looking through the remote repository code, it looks like it expects the SDL2.framework layout and not the Linux-style include directory layout. The main difference between these two layouts is whether or not the SDL header files are contained within a `SDL2` subdirectory. In the .framework file, the header files are located at `Headers/SDL_*.h`. On Linux, the headers are located under `include/SDL2/SDL_*.h`. When Nix builds SDL on Darwin, the output is in the Linux-style layout, while the recastnavigation CMakeLists.txt is expecting things to be in the .framework layout. The fix I made was to change the Darwin-specific `include_directories` directive which points to the Headers directory to instead point to the headers from the Nix store.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions