[MacPorts] #70898: dia @0.97.3: error: incompatible function pointer types initializing 'FT_Outline_MoveToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, void *)') (was: dia 0.97.3 port failing to build on MacOS 15.0 / Arm64 due to incompatible function pointer types initializing)
MacPorts
noreply at macports.org
Wed Sep 25 00:26:32 UTC 2024
#70898: dia @0.97.3: error: incompatible function pointer types initializing
'FT_Outline_MoveToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)')
with an expression of type 'int (FT_Vector *, void *)' (aka 'int (struct
FT_Vector_ *, void *)')
--------------------------------+--------------------
Reporter: captainproton1971 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords:
Port: dia |
--------------------------------+--------------------
Comment (by ryandesign):
Usually you should upload the full log, compressed if it is large, but it
looks like you've found the relevant part of the log, and I am able to
reproduce the problem, so that should be sufficient.
This may be more fallout from type changes in the `FT_Outline` struct in
freetype 2.13.3; see for example #70831 where this affected another port.
The last release of dia was in 2014. Upstream development continues but
they are apparently in no rush to create a new release.
Unfortunately we'll have to come up for the fix for this ourselves, or see
if another distribution has one, because upstream
[https://gitlab.gnome.org/GNOME/dia/-/commit/d2ccbfb0344d3c23719fcb9661e2623830a0142d
deleted the diapsft2renderer.c file that the error occurs in] five years
ago and
[https://gitlab.gnome.org/GNOME/dia/-/commit/8d03d8a653c33d287ec960a3313cb1303e952df5
deleted the postscript plugin entirely] two years ago.
--
Ticket URL: <https://trac.macports.org/ticket/70898#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list