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.

3342b0eac6
This commit is contained in:
polygon 2021-05-14 00:18:29 +02:00
parent 460d4a40a0
commit 060fb3b672
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff --git a/src/boomerang-plugins/codegen/c/ControlFlowAnalyzer.h b/src/boomerang-plugins/codegen/c/ControlFlowAnalyzer.h
index 011b9c9..40c343a 100644
--- a/src/boomerang-plugins/codegen/c/ControlFlowAnalyzer.h
+++ b/src/boomerang-plugins/codegen/c/ControlFlowAnalyzer.h
@@ -10,6 +10,7 @@
#pragma once
+#include <cstdint>
#include <unordered_map>
#include <vector>

View file

@ -3,6 +3,9 @@
mkDerivation rec {
pname = "boomerang";
version = "0.5.2";
# NOTE: When bumping version beyond 0.5.2, you likely need to remove
# the cstdint.patch below. The patch does a fix that has already
# been done upstream but is not yet part of a release
src = fetchFromGitHub {
owner = "BoomerangDecompiler";
@ -13,6 +16,7 @@ mkDerivation rec {
nativeBuildInputs = [ cmake bison flex ];
buildInputs = [ qtbase capstone ];
patches = [ ./cstdint.patch ];
meta = with lib; {
homepage = "https://github.com/BoomerangDecompiler/boomerang";