lol

Merge pull request #176400 from trofi/fix-fno-common-for-xboard

xboard: pull patch pending upstream inclusion for -fno-common toolcha…

authored by

7c6f434c and committed by
GitHub
93622759 fb52e287

+11
+11
pkgs/games/xboard/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 + , fetchpatch 4 5 , libX11 5 6 , xorgproto 6 7 , libXt ··· 27 28 url = "mirror://gnu/xboard/xboard-${version}.tar.gz"; 28 29 sha256 = "sha256-Ky5T6EKK2bbo3IpVs6UYM4GRGk2uLABy+pYpa7sZcNY="; 29 30 }; 31 + 32 + patches = [ 33 + # Pull patch pending upstream inclusion for -fno-common toolchain support: 34 + # https://savannah.gnu.org/patch/index.php?10211 35 + (fetchpatch { 36 + name = "fno-common.patch"; 37 + url = "https://savannah.gnu.org/patch/download.php?file_id=53275"; 38 + sha256 = "sha256-ZOo9jAy1plFjhC5HXJQvXL+Zf7FL14asV3G4AwfgqTY="; 39 + }) 40 + ]; 30 41 31 42 buildInputs = [ 32 43 libX11