lol

wayv: pull patch pending upstream inclusion for -fno-common toolchain support

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

ld: process.o:(.bss+0x0): multiple definition of `child'; backend.o:(.bss+0x0): first defined here

+11 -1
+11 -1
pkgs/tools/X11/wayv/default.nix
··· 1 - {lib, stdenv, fetchFromGitHub, libX11}: 1 + {lib, stdenv, fetchFromGitHub, fetchpatch, libX11}: 2 2 stdenv.mkDerivation rec { 3 3 pname = "wayv"; 4 4 version = "0.3"; ··· 9 9 rev = "b716877603250f690f08b593bf30fd5e8a93a872"; 10 10 sha256 = "046dvaq6na1fyxz5nrjg13aaz6ific9wbygck0dknqqfmmjrsv3b"; 11 11 }; 12 + 13 + patches = [ 14 + # Pull patch pending upstream inclusion for -fno-common toolchain support: 15 + # https://github.com/mikemb/wayV/pull/1 16 + (fetchpatch { 17 + name = "fno-common.patch"; 18 + url = "https://github.com/mikemb/wayV/commit/b927793e2a2c92ff1f97b9df9e58c26e73e72012.patch"; 19 + sha256 = "19i10966b0n710dic64p5ajsllkjnz16bp0crxfy9vv08hj1xygi"; 20 + }) 21 + ]; 12 22 13 23 buildInputs = [ libX11 ]; 14 24