Merge staging-next into staging
This commit is contained in:
commit
d09c1bc5b3
@ -12,21 +12,13 @@ let
|
||||
]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dnsmasq-2.80";
|
||||
name = "dnsmasq-2.81";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.thekelleys.org.uk/dnsmasq/${name}.tar.xz";
|
||||
sha256 = "1fv3g8vikj3sn37x1j6qsywn09w1jipvlv34j3q5qrljbrwa5ayd";
|
||||
sha256 = "1yzq6anwgr5rlnwydpszb51cyhp2vjq29b24ck19flbwac1sk73l";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with nettle 3.5
|
||||
(fetchpatch {
|
||||
name = "nettle-3.5.patch";
|
||||
url = "thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=patch;h=ab73a746a0d6fcac2e682c5548eeb87fb9c9c82e";
|
||||
sha256 = "1hnixij3jp1p6zc3bx2dr92yyf9jp1ahhl9hiiq7bkbhbrw6mbic";
|
||||
})
|
||||
];
|
||||
postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
sed '1i#include <linux/sockios.h>' -i src/dhcp.c
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user