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
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

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