external/pdfium/UnpackedTarball_pdfium.mk | 2 ++ external/pdfium/include.patch | 10 ++++++++++ 2 files changed, 12 insertions(+)
New commits: commit 8a52cc8972efc428e67f323cd3d5646d9970ce22 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Mon Feb 12 10:08:47 2024 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Mon Feb 12 15:31:38 2024 +0100 external/pdfium: Missing include (std::abs) Change-Id: Ia265f425cae86c671824ad355d6b91001c49adca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163236 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/external/pdfium/UnpackedTarball_pdfium.mk b/external/pdfium/UnpackedTarball_pdfium.mk index f8d95d2785c7..340036822e88 100644 --- a/external/pdfium/UnpackedTarball_pdfium.mk +++ b/external/pdfium/UnpackedTarball_pdfium.mk @@ -18,6 +18,8 @@ pdfium_patches += constexpr-template.patch pdfium_patches += system-abseil.diff +pdfium_patches += include.patch + $(eval $(call gb_UnpackedTarball_UnpackedTarball,pdfium)) $(eval $(call gb_UnpackedTarball_set_tarball,pdfium,$(PDFIUM_TARBALL))) diff --git a/external/pdfium/include.patch b/external/pdfium/include.patch new file mode 100644 index 000000000000..0ea8b14c0ed8 --- /dev/null +++ b/external/pdfium/include.patch @@ -0,0 +1,10 @@ +--- core/fxge/dib/blend.cpp ++++ core/fxge/dib/blend.cpp +@@ -7,6 +7,7 @@ + #include "core/fxge/dib/blend.h" + + #include <algorithm> ++#include <cstdlib> + + #include "core/fxge/dib/fx_dib.h" + #include "third_party/base/check_op.h"