1
0
Fork 1
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:
Vladimír Čunát 2020-02-19 13:13:22 +01:00
parent ee65cd9c40
commit 482642a733
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
sha256 = "1hnixij3jp1p6zc3bx2dr92yyf9jp1ahhl9hiiq7bkbhbrw6mbic";
})
];
postPatch = ''
sed '1i#include <linux/sockios.h>' -i src/dhcp.c
'';
preBuild = ''
makeFlagsArray=("COPTS=${copts}")