dublin-traceroute: fix build against jsoncpp 1.9.7 (#517584)

This commit is contained in:
yaya
2026-05-08 03:55:38 +00:00
committed by GitHub
@@ -23,10 +23,10 @@ stdenv.mkDerivation {
hash = "sha256-UJeFPVi3423Jh72fVk8QbLX1tTNAQ504xYs9HwVCkZc=";
};
# gtest requires C++17, while dublin-traceroute requires C++11
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "ENABLE_TESTING()" ""
--replace-fail "ENABLE_TESTING()" "" \
--replace-fail "-std=c++11" "-std=c++17"
'';
nativeBuildInputs = [