summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2025-07-01 13:40:22 +0200
committersternenseemann <sternenseemann@systemli.org>2025-07-01 14:48:29 +0200
commitfbbdcddadab91e4a44fa1daaf734f49cc13917ae (patch)
tree80f7d4f7e4d492ffa2a593aad867ee4ac7180c40 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent190346e1cf5305b1fcf548291542046da9e1c31f (diff)
haskell.compiler.ghc902Binary: fix (system) libffi header discovery
The GHC 9.0.2 bindist expects the headers of libffi to be found under /Applications/XCode.app instead of /Library (which is the case for later GHC bindists which I copied the code from). Correctly substituting this path will prevent GHC from using the bundled and thus outdated libffi headers that are broken for some reason or other. That these bundled headers were installed was actually a bug in hadrian which created the bindists because it ignored use-system-libffi before GHC 9.2. (This was actually the issue I noticed first because it hides the actual problem: Because GHC installed these headers, GHC found some version of ffi.h and ffitarget.h instead of correctly failing due to missing headers which would indicate that package db is broken.) For the sake of completeness, we can also solve this problem by deleting these headers in postInstall.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions