mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
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 {
|
||||
pname = "boomerang";
|
||||
@ -16,7 +16,13 @@ mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake bison flex ];
|
||||
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; {
|
||||
homepage = "https://github.com/BoomerangDecompiler/boomerang";
|
||||
|
Loading…
Reference in New Issue
Block a user