jfbview: fix build w/glibc-2.30

This commit is contained in:
Maximilian Bosch
2020-01-25 19:35:08 +01:00
parent ffe3f6db8f
commit c24fc44e1f

View File

@@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
sha256 = "09rcmlf04aka0yzr25imadi0fl4nlbsxcahs7fhvzx4nql4halqw";
};
postPatch = ''
substituteInPlace main.cpp \
--replace "<stropts.h>" "<sys/ioctl.h>"
'';
hardeningDisable = [ "format" ];
buildInputs = [