Add GCC 11

This commit is contained in:
Steffen Lange 2021-05-09 14:45:08 +02:00
parent 569b077bd2
commit 97ef3a2bd5

15
modules/GCC11.php Normal file
View file

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