forked from mirrors/nixpkgs
sword: fix build with gcc6
This commit is contained in:
parent
e2bf8cea5a
commit
ed6bd02a9d
|
@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
|
|||
patchShebangs .;
|
||||
'';
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-text/sword/files/sword-1.7.4-gcc6.patch";
|
||||
sha256 = "0cvnya5swc7dxabir6bz6la2h1qxd32g3xi06m9b5l5ahb6g10y7";
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = "--without-conf --enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue