can-utils: fixup build after PR #78994
This commit is contained in:
parent
f1bc81f0b8
commit
f04825cc31
@ -13,6 +13,12 @@ stdenv.mkDerivation {
|
||||
sha256 = "1ygzp8rjr8f1gs48mb1pz7psdgbfhlvr6kjdnmzbsqcml06zvrpr";
|
||||
};
|
||||
|
||||
# Fixup build with newer Linux headers.
|
||||
postPatch = ''
|
||||
sed '1i#include <linux/sockios.h>' -i \
|
||||
slcanpty.c cansniffer.c canlogserver.c isotpdump.c isotpsniffer.c isotpperf.c
|
||||
'';
|
||||
|
||||
preConfigure = ''makeFlagsArray+=(PREFIX="$out")'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user