boomerang: Replace inline patch with fetchpatch
This commit is contained in:
parent
060fb3b672
commit
92ac079673
|
@ -1,12 +0,0 @@
|
||||||
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>
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, capstone, bison, flex }:
|
{ mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, qtbase, capstone, bison, flex }:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "boomerang";
|
pname = "boomerang";
|
||||||
|
@ -16,7 +16,13 @@ mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake bison flex ];
|
nativeBuildInputs = [ cmake bison flex ];
|
||||||
buildInputs = [ qtbase capstone ];
|
buildInputs = [ qtbase capstone ];
|
||||||
patches = [ ./cstdint.patch ];
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "include-missing-cstdint.patch";
|
||||||
|
url = "https://github.com/BoomerangDecompiler/boomerang/commit/3342b0eac6b7617d9913226c06c1470820593e74.patch";
|
||||||
|
sha256 = "sha256-941IydcV3mqj7AWvXTM6GePW5VgawEcL0wrBCXqeWvc=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/BoomerangDecompiler/boomerang";
|
homepage = "https://github.com/BoomerangDecompiler/boomerang";
|
||||||
|
|
Loading…
Reference in New Issue