[php-src] PHP-8.3: Merge branch 'PHP-8.2' into PHP-8.3
| From: | Shivam Mathur | Date: | Sun, 10 Mar 2024 15:06:06 +0000 |
| Subject: | [php-src] PHP-8.3: Merge branch 'PHP-8.2' into PHP-8.3 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-127692@lists.php.net to get a copy of this message | ||
Author: Shivam Mathur (shivammathur)
Date: 2024-03-10T20:18:47+05:30
Commit: https://github.com/php/php-src/commit/59e8c267fa0616b21c93c6c8035f8085f0391069
Raw diff: https://github.com/php/php-src/commit/59e8c267fa0616b21c93c6c8035f8085f0391069.diff
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
Fix brew action (#13659)
We patch brew to ensure it overwrites files while linking the dependencies
Changed paths:
M .github/actions/brew/action.yml
Diff:
diff --git a/.github/actions/brew/action.yml b/.github/actions/brew/action.yml
index 51d37aa56d47..5868d3917b80 100644
--- a/.github/actions/brew/action.yml
+++ b/.github/actions/brew/action.yml
@@ -5,6 +5,12 @@ runs:
- shell: bash
run: |
set -x
+
+ # Patch brew to overwrite always
+ formula_installer="$(brew --repo)"/Library/Homebrew/formula_installer.rb
+ code=" keg.link\(verbose: verbose\?"
+ sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/"
"$formula_installer"
+
brew install \
pkg-config \
autoconf \