mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
yersinia: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: ncurses-interface.o:src/ncurses-interface.h:83: multiple definition of `pointer'; ncurses-gui.o:src/ncurses-interface.h:83: first defined here
This commit is contained in:
parent
a43da8cc8b
commit
eb38504a74
@ -24,6 +24,14 @@ stdenv.mkDerivation rec {
|
||||
url = "https://github.com/tomac/yersinia/commit/d91bbf6f475e7ea39f131b77ce91b2de9646d5ca.patch";
|
||||
sha256 = "fl1pZKWA+nLtBm9+3FBFqaeuVZjszQCNkNl6Cf++BAI=";
|
||||
})
|
||||
|
||||
# Pull upstream fix for -fno-common toolchain support:
|
||||
# https://github.com/tomac/yersinia/pull/66
|
||||
(fetchpatch {
|
||||
name = "fno-common.patch";
|
||||
url = "https://github.com/tomac/yersinia/commit/36247225dc7a6f38c4ba70537e20351f04762749.patch";
|
||||
sha256 = "KHaN8gfgNROEico27gWnYiP9ZVhpWz0KjFYy2t5tPBo=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
Loading…
Reference in New Issue
Block a user