lcdproc: pull upstream fix for fno-common toolchains

Without the change build fails on upstream gcc-10 as:

ld: iface.o:(.bss+0x0): multiple definition of `iface'; main.o:(.bss+0x60): first defined here

+9
+9
pkgs/servers/monitoring/lcdproc/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , autoreconfHook 5 6 , makeWrapper 6 7 , pkg-config ··· 27 28 28 29 patches = [ 29 30 ./hardcode_mtab.patch 31 + 32 + # Pull upstream fix for -fno-common toolchains: 33 + # https://github.com/lcdproc/lcdproc/pull/148 34 + (fetchpatch { 35 + name = "fno-common.patch"; 36 + url = "https://github.com/lcdproc/lcdproc/commit/fda5302878692da933dc03cd011f8ddffefa07a4.patch"; 37 + sha256 = "0ld6p1r4rjsnjr63afw3lp5lx25jxjs07lsp9yc3q96r91r835cy"; 38 + }) 30 39 ]; 31 40 32 41 # we don't need to see the GPL every time we launch lcdd in the foreground