maelvls / homebrew-amc

🍺 Homebrew formula for auto-multiple-choice 📖
https://www.auto-multiple-choice.net/download-macosx.en
34 stars 10 forks source link

Use gobject-introspection 1.72 to get around segfaults on Apple Silicon #70

Closed maelvls closed 2 years ago

maelvls commented 2 years ago

Currently, Homebrew and MacPorts rely on gobject-introspection 1.70.0.

The version 1.7.2, yet to be released, includes a fix that prevents segfaults on Apple Silicon hardware: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/301

I will, for now, apply a patch of mine to Glib::Object::Introspection in order to use gobject-introspection 1.72.0. The patch is stored In a GitHub Gist at https://gist.github.com/maelvls/9a4890e7c5adf2309a453d0cdbffaa19.

After merging this PR, the auto-multiple-choice formula should start working on M1 macs.

Future tasks when this PR is merged:

Fixes #55