dmraid: add patch to build with format hardening
This commit is contained in:
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0m92971gyqp61darxbiri6a48jz3wq3gkp8r2k39320z0i6w8jgq";
|
||||
};
|
||||
|
||||
patches = [ ./hardening-format.patch ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/\[\[[^]]*\]\]/[ "''$''${n##*.}" = "so" ]/' */lib/Makefile.in
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user