git.iko.soy/typeable/nixpkgs
on master help sign in
boomerang: Add cstdint include needed with GCC10

Include cstdint as needed with GCC10. This follows an upstream patch for the same issue that is not yet part of a release. https://github.com/BoomerangDecompiler/boomerang/commit/3342b0eac6b7617d9913226c06c1470820593e74

commit060fb3b67260f0c87a7f8a64872cdb7e4250fc04 authorpolygon <polygon@wh2.tu-dresden.de> dateFri 14 May 2021, 00:18 (6 years ago) parent460d4a4
2 files changed+16
pkgs/development/tools/boomerang/cstdint.patch+12 pkgs/development/tools/boomerang/default.nix+4
pkgs/development/tools/boomerang/cstdint.patchnew file+12
@@ -0,0 +1,12 @@
1+diff --git a/src/boomerang-plugins/codegen/c/ControlFlowAnalyzer.h b/src/boomerang-plugins/codegen/c/ControlFlowAnalyzer.h
2+index 011b9c9..40c343a 100644
3+--- a/src/boomerang-plugins/codegen/c/ControlFlowAnalyzer.h
4++++ b/src/boomerang-plugins/codegen/c/ControlFlowAnalyzer.h
5+@@ -10,6 +10,7 @@
6+ #pragma once
7+
8+
9++#include <cstdint>
10+ #include <unordered_map>
11+ #include <vector>
12+
pkgs/development/tools/boomerang/default.nix+4
@@ -3,6 +3,9 @@
33mkDerivation rec {
44 pname = "boomerang";
55 version = "0.5.2";
6+ # NOTE: When bumping version beyond 0.5.2, you likely need to remove
7+ # the cstdint.patch below. The patch does a fix that has already
8+ # been done upstream but is not yet part of a release
69
710 src = fetchFromGitHub {
811 owner = "BoomerangDecompiler";
@@ -13,6 +16,7 @@ mkDerivation rec {
1316
1417 nativeBuildInputs = [ cmake bison flex ];
1518 buildInputs = [ qtbase capstone ];
19+ patches = [ ./cstdint.patch ];
1620
1721 meta = with lib; {
1822 homepage = "https://github.com/BoomerangDecompiler/boomerang";