d-seams: fix missing cstdint include

This commit is contained in:
Harinn
2026-05-09 15:30:44 +07:00
parent 8f689324e3
commit 6d7ba26b22
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,11 @@
diff --git a/src/include/external/cxxopts.hpp b/src/include/external/cxxopts.hpp
--- a/src/include/external/cxxopts.hpp
+++ b/src/include/external/cxxopts.hpp
@@ -26,6 +26,7 @@ THE SOFTWARE.
#define CXXOPTS_HPP_INCLUDED
#include <cctype>
+#include <cstdint>
#include <cstring>
#include <exception>
#include <iostream>
+2
View File
@@ -36,6 +36,8 @@ clangStdenv.mkDerivation rec {
url = "https://github.com/d-SEAMS/seams-core/commit/f6156057e43d0aa1a0df9de67d8859da9c30302d.patch";
hash = "sha256-PLbT1lqdw+69lIHH96MPcGRjfIeZyb88vc875QLYyqw=";
})
# Add missing <cstdint> include for uint8_t in vendored cxxopts.
./cxxopts-cstdint.patch
];
postPatch = ''
substituteInPlace CMakeLists.txt \