3
0
Fork 0
forked from mirrors/nixpkgs

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

xboard: pull patch pending upstream inclusion for -fno-common toolcha…
This commit is contained in:
7c6f434c 2022-06-05 14:44:14 +00:00 committed by GitHub
commit 93622759d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, libX11
, xorgproto
, libXt
@ -28,6 +29,16 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Ky5T6EKK2bbo3IpVs6UYM4GRGk2uLABy+pYpa7sZcNY=";
};
patches = [
# Pull patch pending upstream inclusion for -fno-common toolchain support:
# https://savannah.gnu.org/patch/index.php?10211
(fetchpatch {
name = "fno-common.patch";
url = "https://savannah.gnu.org/patch/download.php?file_id=53275";
sha256 = "sha256-ZOo9jAy1plFjhC5HXJQvXL+Zf7FL14asV3G4AwfgqTY=";
})
];
buildInputs = [
libX11
xorgproto