diff options
author | Samuel Leathers <sam@appliedtrust.com> | 2017-08-30 13:09:23 -0400 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-08-30 21:54:50 +0200 |
commit | ed6bd02a9d1446e5e2af9f599e49ab69a9d72e06 (patch) | |
tree | 42a6a0f4b8286aa9ee2edf814295494106f051dc /pkgs/development/libraries/sword | |
parent | e2bf8cea5aae0b49bc5bdeb07c5778b8193ad414 (diff) |
sword: fix build with gcc6
Diffstat (limited to 'pkgs/development/libraries/sword')
-rw-r--r-- | pkgs/development/libraries/sword/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/sword/default.nix b/pkgs/development/libraries/sword/default.nix index 6091bb3c8bb21..44f6cabd35a75 100644 --- a/pkgs/development/libraries/sword/default.nix +++ b/pkgs/development/libraries/sword/default.nix @@ -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; { |