git.iko.soy/typeable/nixpkgs
on master help sign in
boomerang: Replace inline patch with fetchpatch
commit92ac079673e7ec0749062b4c93c64b56d64828ea authorpolygon <polygon@wh2.tu-dresden.de> dateFri 14 May 2021, 15:04 (6 years ago) parent060fb3b
2 files changed+8−14
pkgs/development/tools/boomerang/cstdint.patch−12 pkgs/development/tools/boomerang/default.nix+8−2
pkgs/development/tools/boomerang/cstdint.patchdeleted−12
@@ -1,12 +0,0 @@
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+8−2
@@ -1,4 +1,4 @@
1−{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, capstone, bison, flex }:
1+{ mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, qtbase, capstone, bison, flex }:
22
33mkDerivation rec {
44 pname = "boomerang";
@@ -16,7 +16,13 @@ mkDerivation rec {
1616
1717 nativeBuildInputs = [ cmake bison flex ];
1818 buildInputs = [ qtbase capstone ];
19− patches = [ ./cstdint.patch ];
19+ patches = [
20+ (fetchpatch {
21+ name = "include-missing-cstdint.patch";
22+ url = "https://github.com/BoomerangDecompiler/boomerang/commit/3342b0eac6b7617d9913226c06c1470820593e74.patch";
23+ sha256 = "sha256-941IydcV3mqj7AWvXTM6GePW5VgawEcL0wrBCXqeWvc=";
24+ })
25+ ];
2026
2127 meta = with lib; {
2228 homepage = "https://github.com/BoomerangDecompiler/boomerang";