strobealign: fix build with gcc 15
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff --git a/ext/robin_hood.h b/ext/robin_hood.h
|
||||
index a8f3a78..1c1b1d8 100644
|
||||
--- a/ext/robin_hood.h
|
||||
+++ b/ext/robin_hood.h
|
||||
@@ -41,6 +41,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
+#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <functional>
|
||||
#include <memory> // only to support hash of smart pointers
|
||||
@@ -18,6 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-ah21ptyfZbgdJrtCCftYhGh1hfcJ9JpXNsXUp8pZDJw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./include-cstdint.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
||||
Reference in New Issue
Block a user