The code added in
24bd92c1e5d49b354141cd06d88ca658991b9825 calls `readlink` in
multiple paths, including the macOS branch. This function needs the #include
<unistd.h> but we were only conditionally including it when not on Windows or
macOS, when we _do_ need it on macOS. Similar to the previous commit, it seems
this went unnoticed because the macOS CI jobs do not build Smyrna.
- Do not try to install `gv.php` if using SWIG-4.1.0. Graphviz 7.0.1 changes
listed SWIG 4.1.0 as supported, but there was an oversight that is fixed in
7.0.2. Complete #2277, #2303
+- Several compilation errors when building Smyrna on macOS have been fixed. This
+ was a regression in Graphviz 7.0.1.
## [7.0.1] – 2022-11-09
#include <sys/types.h>
#endif
-#if !defined(__APPLE__) && !defined(_WIN32)
+#if !defined(_WIN32)
#include <unistd.h>
#endif