udev182: fix build against linux 4.4 headers
Fix from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libudev0
This commit is contained in:
parent
ca730d4452
commit
4cf524e588
@ -23,6 +23,11 @@ stdenv.mkDerivation rec {
|
||||
"--disable-introspection"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's:input.h:input-event-codes.h:' Makefile.in
|
||||
sed -i '20a#include <stdint.h>' src/mtd_probe/mtd_probe.h
|
||||
'';
|
||||
|
||||
NIX_LDFLAGS = [ "-lrt" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user