flow: fix build with GCC 15
Tracking: https://github.com/NixOS/nixpkgs/issues/475479
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff --git a/src/third-party/fuzzy-path/vendor/MatcherBase.h b/src/third-party/fuzzy-path/vendor/MatcherBase.h
|
||||
index fbaabc3d92..57c0c58fb2 100644
|
||||
--- a/src/third-party/fuzzy-path/vendor/MatcherBase.h
|
||||
+++ b/src/third-party/fuzzy-path/vendor/MatcherBase.h
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
@@ -25,6 +25,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-Mqx07dJAYIesp09RmKr74rLKRkG46nHQERhuQ7AyAiM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# error: 'uint64_t' does not name a type
|
||||
./gcc-15-compat.patch
|
||||
];
|
||||
|
||||
makeFlags = [ "FLOW_RELEASE=1" ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
Reference in New Issue
Block a user