Skip to content

Commit

Permalink
fix ncurses 6.5 build (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywhalecc committed May 6, 2024
1 parent 0fee628 commit 954f8f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
10 changes: 3 additions & 7 deletions config/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,9 @@
}
},
"ncurses": {
"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",
"type": "filelist",
"url": "https://ftp.gnu.org/pub/gnu/ncurses/",
"regex": "/href=\"(?<file>ncurses-(?<version>[^\"]+)\\.tar\\.gz)\"/",
"license": {
"type": "file",
"path": "COPYING"
Expand Down
2 changes: 1 addition & 1 deletion src/SPC/builder/unix/library/ncurses.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected function build(): void
'--with-curses-h ' .
'--enable-pc-files ' .
'--enable-echo ' .
// '--enable-widec ' .
'--disable-widec ' .
'--with-normal ' .
'--with-ticlib ' .
'--without-tests ' .
Expand Down
6 changes: 3 additions & 3 deletions src/globals/test-extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@

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

// If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).
$with_libs = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'xz',
'Linux', 'Darwin' => '',
'Windows' => '',
};

// Please change your test base combination. We recommend testing with `common`.
// You can use `common`, `bulk`, `minimal` or `none`.
// note: combination is only available for *nix platform. Windows must use `none` combination
$base_combination = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'minimal',
'Linux', 'Darwin' => 'none',
'Windows' => 'none',
};

Expand Down

0 comments on commit 954f8f4

Please sign in to comment.