Skip to content

Commit

Permalink
Fix ncurses pkg-config bug temporarily (#432)
Browse files Browse the repository at this point in the history
* Fix ncurses pkg-config bug temporarily

* Add tests
  • Loading branch information
crazywhalecc authored Apr 30, 2024
1 parent 15c2935 commit 3ecc603
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions config/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,13 @@
}
},
"ncurses": {
"type": "filelist",
"url": "https://ftp.gnu.org/pub/gnu/ncurses/",
"regex": "/href=\"(?<file>ncurses-(?<version>[^\"]+)\\.tar\\.gz)\"/",
"alt": {
"type": "filelist",
"url": "https://ftp.gnu.org/pub/gnu/ncurses/",
"regex": "/href=\"(?<file>ncurses-(?<version>[^\"]+)\\.tar\\.gz)\"/"
},
"type": "url",
"url": "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.4.tar.gz",
"license": {
"type": "file",
"path": "COPYING"
Expand Down
2 changes: 1 addition & 1 deletion src/globals/test-extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'imagick',
'Linux', 'Darwin' => 'readline',
'Windows' => 'mbstring,pdo_sqlite,mbregex',
};

Expand Down

0 comments on commit 3ecc603

Please sign in to comment.