First patch taken from Fedora:
https://src.fedoraproject.org/rpms/gtkglext/blob/master/f/0002-GCC-8-fixes.patch