diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2023-08-15 15:07:22 +1000 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2023-08-21 13:29:12 +1000 |
| commit | 66884a4912003e8090ef6e2a203f9544c4d7702c (patch) | |
| tree | 0eefa3236cb9853aa406c9c6d984aa8d67dcddc6 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 55d5ebb07a992762c4535c01602ece55e85ada72 (diff) | |
writeDarwinBundle: use binary wrapper
Previously `writeDarwinBundle` used a handcrafted shell wrapper, however
this causes issues on Apple Silicon Macs as script-only application
bundles are always run under Rosetta[0][1].
Replacing the handcrafted shell wrapper with a binary wrapper allows
apps to run natively instead of requiring Rosetta. However, this means
we can no longer use `$1` and `$@`.
After checking nearly every current usage of `desktopToDarwinBundle`,
there were no apps that used `%[fFuU]` before the last argument, meaning
removing them naively is good enough for the current apps.
[0]: https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
[1]: https://stackoverflow.com/a/68208374
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
