From 663a763150d77ad7cd6c2abae6ea345c28f45e74 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 2 Apr 2025 15:58:01 -0400 Subject: [PATCH] Attempt to fix compilation introduced from https://github.com/ONLYOFFICE/core/commit/4f4f61bb1918e0a0a6d79827227ae5129443564f --- .forgejo/workflows/release-build.yaml | 1 + ...officefileformatchecker2-add-limits-include.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 core_common-officefileformatchecker2-add-limits-include.patch diff --git a/.forgejo/workflows/release-build.yaml b/.forgejo/workflows/release-build.yaml index 32a38ba..f45c087 100644 --- a/.forgejo/workflows/release-build.yaml +++ b/.forgejo/workflows/release-build.yaml @@ -37,6 +37,7 @@ jobs: cd build git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/core_v8-use-system-clang.patch git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/disable-licensing-limits.patch + git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/core_common-officefileformatchecker2-add-limits-include.patch - name: Development setup run: | mkdir -p build/build_tools/system_qt-$qtver/gcc_64 diff --git a/core_common-officefileformatchecker2-add-limits-include.patch b/core_common-officefileformatchecker2-add-limits-include.patch new file mode 100644 index 0000000..f015968 --- /dev/null +++ b/core_common-officefileformatchecker2-add-limits-include.patch @@ -0,0 +1,12 @@ +diff --git a/core/Common/OfficeFileFormatChecker2.cpp b/core/Common/OfficeFileFormatChecker2.cpp +index d2887d78..43c28a0b 100644 +--- a/core/Common/OfficeFileFormatChecker2.cpp ++++ b/core/Common/OfficeFileFormatChecker2.cpp +@@ -44,6 +44,7 @@ + + #include "3dParty/pole/pole.h" + #include ++#include + + #include "OfficeFileFormatDefines.h" +