Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Resolve readline patch attempting to apply to php >7.1 due to OR instead of AND #1357

Merged
merged 1 commit into from
May 22, 2024

Conversation

driskell
Copy link
Contributor

@driskell driskell commented Dec 7, 2023

This resolves a patch failure (that interestingly gets ignored) when installing PHP > 7.1
There's an OR so effectively match() always returns true - since it will always either be higher or equal to 5.3 or lower or equal to 7.1

@peter279k
Copy link
Member

It seems that it's related to the #1352.

@driskell
Copy link
Contributor Author

@peter279k Yes that's related - this would fix that issue

@peter279k peter279k requested a review from c9s March 18, 2024 16:34
@peter279k peter279k self-assigned this Mar 18, 2024
@peter279k
Copy link
Member

@c9s, could you help me to review this PR? Thanks.

@frostfire64
Copy link

frostfire64 commented May 22, 2024

Is there any possibility for this issue to be resolved, it seems that phpbrew is a nice tool that I would like to use on WSL ubuntu but it crashes for this very reason.

I found a workaround for anyone searching for a solution try running phpbrew install --no-patch so that the entire patch application logic is avoided.

I don't think I want patches installed by default anyway.

@peter279k peter279k merged commit c246345 into phpbrew:master May 22, 2024
11 checks passed
@peter279k
Copy link
Member

Sorry for the delay. I've merged this PR now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants