Opened 7 months ago
Last modified 7 months ago
#69692 closed defect
ImageMagick7 @7.1.1-29_1 [-x11]: Installation/build fails — at Version 1
Reported by: | frkd-dev (Oleksandr) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | |
Port: | ImageMagick7 |
Description (last modified by frkd-dev (Oleksandr))
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]. This change wasn't released yet but we should expect this soon.
[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
Change History (1)
comment:1 Changed 7 months ago by frkd-dev (Oleksandr)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.