policycoreutils: fix i686-linux compilation error, closes #9544
This adds a patch to quiet a compiler warning which would be harmless except that it breaks the build due to use of -Werror. See http://hydra.nixos.org/build/25151888/nixlog/1
This commit is contained in:
committed by
Rok Garbas
parent
38e2c1586b
commit
ca673d66de
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0y9l9k60iy21hj0lcvfdfxs1fxydg6d3pxp9rhy7hwr4y5vgh6dq";
|
||||
};
|
||||
|
||||
patches = [ ./fix-printf-type.patch ];
|
||||
|
||||
postPatch = ''
|
||||
# Fix references to libsepol.a
|
||||
find . -name Makefile -exec sed -i 's,[^ ]*/libsepol.a,${libsepol}/lib/libsepol.a,g' {} \;
|
||||
|
||||
Reference in New Issue
Block a user