Merge pull request #73475 from rwanyoike/patch-1

mtr: patch for "Error decoding localhost address"
This commit is contained in:
Robin Gloster 2019-11-15 23:37:23 +01:00 committed by GitHub
commit 8c1a5a336c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
{ stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook, pkgconfig
, libcap, ncurses
, withGtk ? false, gtk2 ? null }:
@ -14,6 +14,14 @@ stdenv.mkDerivation rec {
rev = "v${version}";
sha256 = "0n0zr9k61w7a9psnzgp7xnc7ll1ic2xzcvqsbbbyndg3v9rff6bw";
};
patches = [
# https://github.com/traviscross/mtr/pull/315
(fetchpatch {
url = https://github.com/traviscross/mtr/pull/315.patch?full_index=1;
sha256 = "18qcsj9058snc2qhq6v6gdbqhz021gi5fgw9h7vfczv45gf0qasa";
})
];
# we need this before autoreconfHook does its thing
postPatch = ''