thc-ipv6: fix gcc-15 build (#485149)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
libpcap,
|
||||
openssl,
|
||||
libnetfilter_queue,
|
||||
@@ -18,6 +19,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
sha256 = "07kwika1zdq62s5p5z94xznm77dxjxdg8k0hrg7wygz50151nzmx";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix gcc-15 build failure:
|
||||
# https://github.com/vanhauser-thc/thc-ipv6/pull/53
|
||||
(fetchpatch {
|
||||
name = "gcc-15.patch";
|
||||
url = "https://github.com/vanhauser-thc/thc-ipv6/commit/c9617d5638196bd88336225a6abdfd45c3df0bcf.patch";
|
||||
hash = "sha256-4+LmRsDInzzNFHvj8WK+r1fKeoLggQW7yrahC1d6WCs=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libpcap
|
||||
openssl
|
||||
@@ -29,6 +40,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"PREFIX=$(out)"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "IPv6 attack toolkit";
|
||||
homepage = "https://github.com/vanhauser-thc/thc-ipv6";
|
||||
|
||||
Reference in New Issue
Block a user