mtr: patch for "Error decoding localhost address"

This commit is contained in:
Raymond 2019-11-16 01:08:28 +03:00 committed by GitHub
parent a27a14da2a
commit d0e1277dfd
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 = ''