[MacPorts] #69692: ImageMagick7 @7.1.1-29_1 [-x11]: Installation/build fails
MacPorts
noreply at macports.org
Sun Apr 7 18:36:29 UTC 2024
#69692: ImageMagick7 @7.1.1-29_1 [-x11]: Installation/build fails
----------------------+--------------------------
Reporter: frkd-dev | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: ImageMagick7
----------------------+--------------------------
The installation of ImageMagick7 fails with the following errors:
{{{
:info:build Magick++/lib/Color.cpp:246:17: error: use of undeclared
identifier 'PixelPacket'
:info:build _pixel = (PixelPacket *)NULL;
:info:build ^
:info:build Magick++/lib/Color.cpp:246:30: error: expected expression
:info:build _pixel = (PixelPacket *)NULL;
:info:build ^
:info:build 2 errors generated.
}}}
This error is introduced by the port's patch for "Color.cpp" file [1].
The upstream is using now the "PixelInfo" type instead of "PixelPacket",
and I believe that causes the error.
The patch itself can be retired very soon since the upstream a couple of
days ago ditched "nullptr" in favor of "(PixelInfo*)NULL" type casting
[2].
[1]: https://github.com/macports/macports-
ports/blob/master/graphics/ImageMagick7/files/Color.cpp.patch
[2]:
https://github.com/ImageMagick/ImageMagick/blob/main/Magick%2B%2B/lib/Color.cpp#L246
--
Ticket URL: <https://trac.macports.org/ticket/69692>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list