translatelocally: fix build with gcc15 (#512681)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff --git a/3rd_party/bergamot-translator/3rd_party/marian-dev/src/microsoft/quicksand.h b/3rd_party/bergamot-translator/3rd_party/marian-dev/src/microsoft/quicksand.h
|
||||
index 87de194..85e85a1 100755
|
||||
--- a/3rd_party/bergamot-translator/3rd_party/marian-dev/src/microsoft/quicksand.h
|
||||
+++ b/3rd_party/bergamot-translator/3rd_party/marian-dev/src/microsoft/quicksand.h
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
+#include <cstdint>
|
||||
|
||||
namespace marian {
|
||||
|
||||
@@ -33,6 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
patches = [
|
||||
./version_without_git.patch
|
||||
./gcc15_compat_vnd_marian_missing_include.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user