ncrack: fix build (#425606)
This commit is contained in:
@@ -26,8 +26,18 @@ stdenv.mkDerivation rec {
|
||||
url = "https://github.com/nmap/ncrack/commit/cc4103267bab6017a4da9d41156d0c1075012eba.patch";
|
||||
sha256 = "06nlfvc7p108f8ppbcgwmj4iwmjy95xhc1sawa8c78lrx22r7gy3";
|
||||
})
|
||||
# https://github.com/nmap/ncrack/pull/127
|
||||
(fetchpatch {
|
||||
url = "https://src.fedoraproject.org/rpms/ncrack/raw/425a54633e220b6bafca37554e5585e2c6b48082/f/ncrack-0.7-fedora-c99.patch";
|
||||
hash = "sha256-kPYLPJ04dFI+WZQBecuTHXdTZhc40FDQkt35Jrddoyw=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace crypto.cc \
|
||||
--replace-fail "register" ""
|
||||
'';
|
||||
|
||||
# Our version is good; the check is bad.
|
||||
configureFlags = [ "--without-zlib-version-check" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user