dmraid: add patch to build with format hardening

This commit is contained in:
Robin Gloster
2016-01-30 16:36:57 +00:00
parent e721382448
commit cce1bad2e1
2 changed files with 20 additions and 0 deletions
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0m92971gyqp61darxbiri6a48jz3wq3gkp8r2k39320z0i6w8jgq";
};
patches = [ ./hardening-format.patch ];
postPatch = ''
sed -i 's/\[\[[^]]*\]\]/[ "''$''${n##*.}" = "so" ]/' */lib/Makefile.in
'';