Add GCC 14
This commit is contained in:
parent
16afffc9ab
commit
f20a93d8db
1 changed files with 3 additions and 3 deletions
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
class GCC11 extends PatchBase {
|
class GCC14 extends PatchBase {
|
||||||
function __construct() {
|
function __construct() {
|
||||||
parent::__construct('Free Software Foundation', 'GNU Compiler Collection', 'https://gcc.gnu.org/');
|
parent::__construct('Free Software Foundation', 'GNU Compiler Collection', 'https://gcc.gnu.org/');
|
||||||
$this->patch->setBranch('11');
|
$this->patch->setBranch('14');
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://gcc.gnu.org/'))
|
if ($this->fetch('https://gcc.gnu.org/'))
|
||||||
return $this->parse('/<span class="version"><a href="gcc-11\/">GCC ([\d\.]+)/');
|
return $this->parse('/<span class="version"><a href="gcc-14\/">GCC ([\d\.]+)/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue