forked from mirrors/nixpkgs
dnsmasq: fixup build after kernel header changes
https://github.com/torvalds/linux/commit/0768e17073d
This commit is contained in:
parent
ee65cd9c40
commit
482642a733
|
@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1hnixij3jp1p6zc3bx2dr92yyf9jp1ahhl9hiiq7bkbhbrw6mbic";
|
||||
})
|
||||
];
|
||||
postPatch = ''
|
||||
sed '1i#include <linux/sockios.h>' -i src/dhcp.c
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=("COPTS=${copts}")
|
||||
|
|
Loading…
Reference in a new issue