diod: fix build w/glibc-2.30

For compatibility with newer glibc versions, `sys/sysmacros.h` needs to
be included.
gstqt5
Maximilian Bosch 2020-01-20 15:59:20 +01:00
parent 8045baf09d
commit 894da51750
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
postPatch = ''
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 ];