Created attachment 272558 [details] 0001-graphics-pecl-imagick-update-3.8.0-3.8.1-fix-build-w.patch
Created attachment 272559 [details] tests.txt runTests.sh output on 86
Thanks for the heads up. I can approve update of port to 3.8.1 as it is always good to have the latest version. But I am not sure about PHP 8.6. Officially it is tested / fixed for PHP 8.5 - according to changelog https://pecl.php.net/package-changelog.php?package=imagick&release=3.8.1 On the other hand, PHP 8.6 is alpha - not for production - we can enable pecl-imagick flavor for 8.6 too and if experimenting users will report problems, we can set IGNORE_WITH_PHP again.
(In reply to Miroslav Lachman from comment #2) Upstream seems to be on a long holiday or something, there's a 7-month backlog of unhandled PR:r, including same fixes that I am doing here. https://github.com/Imagick/imagick/pulls
I'll add that similar patches had already been added to several other ports to support PHP 8.6 even before PHP 8.6 appeared in ports. If Miroslav has no objections, then I would commit the whole patch.
I have no objections. You can commit the whole patch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2761152d28f6d746452b0ab2b71b558f4f720939 commit 2761152d28f6d746452b0ab2b71b558f4f720939 Author: Paavo-Einari Kaipila <pkaipila@gmail.com> AuthorDate: 2026-07-11 21:32:06 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-07-11 21:35:05 +0000 graphics/pecl-imagick: Update 3.8.0 => 3.8.1 Release Notes: https://pecl.php.net/package/imagick/3.8.1 - Fix build with PHP 8.6. PR: 296569 Approved by: Miroslav Lachman <000.fbsd@quip.cz> (maintainer) Sponsored by: UNIS Labs MFH: 2026Q3 graphics/pecl-imagick/Makefile | 14 ++++++++------ graphics/pecl-imagick/distinfo | 6 +++--- 2 files changed, 11 insertions(+), 9 deletions(-)
A commit in branch 2026Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=35f6f54f830de15627094c9b70107c1b637c3ce5 commit 35f6f54f830de15627094c9b70107c1b637c3ce5 Author: Paavo-Einari Kaipila <pkaipila@gmail.com> AuthorDate: 2026-07-11 21:32:06 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-07-11 21:36:52 +0000 graphics/pecl-imagick: Update 3.8.0 => 3.8.1 Release Notes: https://pecl.php.net/package/imagick/3.8.1 - Fix build with PHP 8.6. PR: 296569 Approved by: Miroslav Lachman <000.fbsd@quip.cz> (maintainer) Sponsored by: UNIS Labs MFH: 2026Q3 (cherry picked from commit 2761152d28f6d746452b0ab2b71b558f4f720939) graphics/pecl-imagick/Makefile | 14 ++++++++------ graphics/pecl-imagick/distinfo | 6 +++--- 2 files changed, 11 insertions(+), 9 deletions(-)
Since the change concerns only three files, I have listed them.