Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 764866

Summary: dev-lang/php: add support for pcre-jit USE flag
Product: Gentoo Linux Reporter: digitalteacup <digitalteacup>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: ionen, mjo
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed ebuild patch

Description digitalteacup 2021-01-10 18:59:37 UTC
Created attachment 682279 [details, diff]
Proposed ebuild patch

dev-lang/php-8.0.1 disables pcre-jit unconditionally and as far as I can tell there's no way to enable it. I propose adding support for toggling it via the existing USE flag pcre-jit, disabled by default.

Attached is a patch against php-8.0.1.ebuild.
Comment 1 Larry the Git Cow gentoo-dev 2021-02-16 23:59:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e6b157c6d2608c304c1b737797532be1a7b7882

commit 5e6b157c6d2608c304c1b737797532be1a7b7882
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-02-16 23:55:18 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-02-16 23:58:45 +0000

    dev-lang/php: add USE=jit to control PCRE JIT support
    
    Closes: https://bugs.gentoo.org/764866
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-lang/php/metadata.xml            |   1 +
 dev-lang/php/php-7.3.27-r1.ebuild    | 761 +++++++++++++++++++++++++++++++++++
 dev-lang/php/php-7.4.15-r1.ebuild    | 753 ++++++++++++++++++++++++++++++++++
 dev-lang/php/php-8.0.2-r1.ebuild     | 748 ++++++++++++++++++++++++++++++++++
 profiles/arch/amd64/package.use.mask |   4 +
 profiles/arch/arm64/package.use.mask |   4 +
 profiles/arch/x86/package.use.mask   |   4 +
 profiles/base/package.use.mask       |   4 +
 8 files changed, 2279 insertions(+)