Source: gpm
Version: 1.20.7-5+b1
Severity: important
Tags: patch upstream

gpm fails to build from source when being built with gcc-10, because it
has a non-extern variable declaration in a public header. Since gcc-10
defaults to -fno-commons, linking fails. You can easily fix it by
declaring it extern:

    sed -i -e '/last_selection_time/s/^/extern /' src/headers/daemon.h

This has also been reported on the gentoo side:
https://bugs.gentoo.org/show_bug.cgi?id=705878

Helmut

Reply via email to