diod: fix build w/glibc-2.30
For compatibility with newer glibc versions, `sys/sysmacros.h` needs to be included.
This commit is contained in:
parent
8045baf09d
commit
894da51750
|
@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace diod/xattr.c --replace attr/xattr.h sys/xattr.h
|
substituteInPlace diod/xattr.c --replace attr/xattr.h sys/xattr.h
|
||||||
|
sed -i -e '/sys\/types\.h>/a #include <sys/sysmacros.h>' diod/ops.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ munge lua libcap perl ncurses ];
|
buildInputs = [ munge lua libcap perl ncurses ];
|
||||||
|
|
Loading…
Reference in a new issue