john: add patch to build with gcc5

This commit is contained in:
Robin Gloster
2016-02-08 00:39:17 +00:00
parent d13d46fea0
commit e6345523f2
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
sha256 = "08q92sfdvkz47rx6qjn7qv57cmlpy7i7rgddapq5384mb413vjds";
};
patches = [ ./gcc5.patch ];
postPatch = ''
sed -ri -e '
s!^(#define\s+CFG_[A-Z]+_NAME\s+).*/!\1"'"$out"'/etc/john/!