mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
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