Created attachment 246020 [details] Update to 2.1.1 The version currently in ports only supports PHP up to and including PHP 8.1. However, according to upstream: https://pecl.php.net/package/amqp Version 2.1.1 of this package is now available which also supports PHP versions higher than 8.1. It seems the new version (like the old one) compiles fine without any tweaking neccessary. See patch attached.
btw., seeing as there are breaking changes when upgrading from 1.x.x versions https://github.com/php-amqp/php-amqp/blob/latest/UPGRADING.md adding a new package net/pecl-amqp2 might be better than upgrading to the newest version?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ccc1e7a7278dd6545ee40f014eae6326098c1d58 commit ccc1e7a7278dd6545ee40f014eae6326098c1d58 Author: Martin Waschbüsch <martin@waschbuesch.de> AuthorDate: 2023-10-31 10:09:07 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2023-10-31 17:26:06 +0000 net/pecl-amqp: Update to 2.1.1 Changes: https://pecl.php.net/package-changelog.php?package=amqp&release=2.1.1 PR: 274826 Approved by: maintainer (implicitly) net/pecl-amqp/Makefile | 4 +--- net/pecl-amqp/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-)