summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-11-12 11:40:33 +0200
committerTor Lillqvist <tml@collabora.com>2021-11-12 11:20:01 +0100
commit9c8076f438dfac311a9c7dce559e8ab3ea4fd6e0 (patch)
treea000b19832bf3d41715eea946652e85168cf6fd4 /external
parentfix assertion with scaled alpha image in SkiaSalBitmap (diff)
downloadcore-9c8076f438dfac311a9c7dce559e8ab3ea4fd6e0.tar.gz
core-9c8076f438dfac311a9c7dce559e8ab3ea4fd6e0.zip
Include <cstdint> in fxcodec/fx_codec.h
Fixes the build of Pdfium on Fedora 34 for me. No idea why it wasn't needed on other platforms. Change-Id: Id0d6172383970b289b6b3b7f6b5c0da998167796 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125084 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'external')
-rw-r--r--external/pdfium/build.patch.111
1 files changed, 11 insertions, 0 deletions
diff --git a/external/pdfium/build.patch.1 b/external/pdfium/build.patch.1
index ec29803246ed..8d5e22f43c61 100644
--- a/external/pdfium/build.patch.1
+++ b/external/pdfium/build.patch.1
@@ -1,3 +1,4 @@
+-*- Mode: diff -*-
diff --git a/core/fpdfdoc/cpdf_metadata.cpp b/core/fpdfdoc/cpdf_metadata.cpp
index 323de4ffc..f11a0b0ad 100644
--- a/core/fpdfdoc/cpdf_metadata.cpp
@@ -50,3 +51,13 @@ index d8875786c..bc019ebe1 100644
}
void sycc_to_rgb(int offset,
+--- a/core/fxcodec/fx_codec.h
++++ b/core/fxcodec/fx_codec.h
+@@ -8,6 +8,7 @@
+ #define CORE_FXCODEC_FX_CODEC_H_
+
+ #include <map>
++#include <cstdint>
+
+ #include "third_party/abseil-cpp/absl/types/optional.h"
+