Created attachment 227413 [details] php80-pecl-scrypt-1.4.2.patch This patch should get the port working with php80. Mostly cribbed from https://github.com/DomBlack/php-scrypt/commit/3b01fd422300032d2ba91f978d8c9131fa519b72.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5d11eeb395da6b6b8af01206765173d0fb1bfe5 commit a5d11eeb395da6b6b8af01206765173d0fb1bfe5 Author: Danilo G. Baio <dbaio@FreeBSD.org> AuthorDate: 2021-08-25 12:25:15 +0000 Commit: Danilo G. Baio <dbaio@FreeBSD.org> CommitDate: 2021-08-25 12:27:30 +0000 security/pecl-scrypt: Fix build with PHP 8 PR: 258030 Reported by: clpo13@gmail.com security/pecl-scrypt/Makefile | 5 ++++- security/pecl-scrypt/distinfo | 4 +++- .../files/patch-crypto_crypto__scrypt-nosse.c (new) | 12 ++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-)
A commit in branch 2021Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0370ede7f5598c41c2d015be876a651b1f4ebdf1 commit 0370ede7f5598c41c2d015be876a651b1f4ebdf1 Author: Danilo G. Baio <dbaio@FreeBSD.org> AuthorDate: 2021-08-25 12:25:15 +0000 Commit: Danilo G. Baio <dbaio@FreeBSD.org> CommitDate: 2021-08-25 12:32:45 +0000 security/pecl-scrypt: Fix build with PHP 8 PR: 258030 Reported by: clpo13@gmail.com (cherry picked from commit a5d11eeb395da6b6b8af01206765173d0fb1bfe5) security/pecl-scrypt/Makefile | 5 ++++- security/pecl-scrypt/distinfo | 4 +++- .../files/patch-crypto_crypto__scrypt-nosse.c (new) | 12 ++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-)
Committed with a few changes. And thank you!