forked from mirrors/nixpkgs
jfbview: fix build w/glibc-2.30
This commit is contained in:
parent
ffe3f6db8f
commit
c24fc44e1f
|
@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "09rcmlf04aka0yzr25imadi0fl4nlbsxcahs7fhvzx4nql4halqw";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace main.cpp \
|
||||
--replace "<stropts.h>" "<sys/ioctl.h>"
|
||||
'';
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
buildInputs = [
|
||||
|
|
Loading…
Reference in a new issue