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