mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
dnsmasq: fix build with nettle 3.5
This commit is contained in:
parent
ea7918fd0d
commit
9058ad8c74
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, dbus, nettle
|
||||
{ stdenv, fetchurl, pkgconfig, dbus, nettle, fetchpatch
|
||||
, libidn, libnetfilter_conntrack }:
|
||||
|
||||
with stdenv.lib;
|
||||
@ -19,6 +19,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1fv3g8vikj3sn37x1j6qsywn09w1jipvlv34j3q5qrljbrwa5ayd";
|
||||
};
|
||||
|
||||
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";
|
||||
})
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=("COPTS=${copts}")
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user