Add GCC 14

This commit is contained in:
Steffen Lange 2024-08-05 12:13:59 +02:00
parent 16afffc9ab
commit f20a93d8db

15
modules/GCC14.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class GCC14 extends PatchBase {
function __construct() {
parent::__construct('Free Software Foundation', 'GNU Compiler Collection', 'https://gcc.gnu.org/');
$this->patch->setBranch('14');
}
function check() : bool {
if ($this->fetch('https://gcc.gnu.org/'))
return $this->parse('/<span class="version"><a href="gcc-14\/">GCC ([\d\.]+)/');
return false;
}
}
?>