external/pdfium/build.patch.1 |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit 9c8076f438dfac311a9c7dce559e8ab3ea4fd6e0
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Fri Nov 12 11:40:33 2021 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Fri Nov 12 11:20:01 2021 +0100

    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 <serval2...@yahoo.fr>
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

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"
+ 

Reply via email to