Files
loongoffice/external/liborcus/include.patch.0
Stephan Bergmann 1e51a325a8 Missing #include <stdint.h> in various external code
...which is a problem presumably since GCC 13 trunk
<https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=6f038efd93593da6e661b829d1bd3877e75550f1>
"libstdc++: Avoid including <cstdint> for std::char_traits".  (All the broken
C++ code used unqualified uintptr_t etc. rather than std::uintptr_t etc., so I
deemed it more appropriate to include <stdint.h> rather than <cstdint>.)

Change-Id: Id9dfc383c5986126a425971c4557b90ac45ac963
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134760
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-23 12:08:30 +02:00

21 lines
393 B
Plaintext

--- include/orcus/base64.hpp
+++ include/orcus/base64.hpp
@@ -9,6 +9,7 @@
#define __ORCUS_BASE64_HPP__
#include "env.hpp"
+#include <stdint.h>
#include <vector>
#include <string>
--- include/orcus/types.hpp
+++ include/orcus/types.hpp
@@ -16,6 +16,7 @@
#pragma GCC diagnostic ignored "-Wshadow"
#endif
+#include <stdint.h>
#include <cstdlib>
#include <vector>
#include <string>