We currently have version 1.0.3.1-r4 of dev-php/pecluploadprogress in portage, which is upstream version 1.0.3.1 with an extra gentoo patch to support php-7. Upstream has released a number of updates, the most recent being 1.1.3 which supports php 5, 7 and 8 natively and does not require any external patches. I have tested this by removing the gentoo php7 patch and upgrading the ebuild to use version 1.1.3 and it builds just fine.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad0e787c9a3e8cddbc787b1420dc9551cbc55e1 commit 6ad0e787c9a3e8cddbc787b1420dc9551cbc55e1 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2020-03-06 17:14:21 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2020-03-06 17:14:37 +0000 dev-php/pecl-uploadprogress: new version 1.1.3. This new version supports all newer slots of PHP, making our custom patches obsolete. Thanks to Reuben Farrelly for the heads-up! Closes: https://bugs.gentoo.org/711658 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> dev-php/pecl-uploadprogress/Manifest | 2 +- .../pecl-uploadprogress/files/1.0.3.1-php7.patch | 148 --------------------- ...-r4.ebuild => pecl-uploadprogress-1.1.3.ebuild} | 15 ++- 3 files changed, 9 insertions(+), 156 deletions(-)