From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- external/pdfium/AndroidNDK19.patch.1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 external/pdfium/AndroidNDK19.patch.1 (limited to 'external/pdfium/AndroidNDK19.patch.1') diff --git a/external/pdfium/AndroidNDK19.patch.1 b/external/pdfium/AndroidNDK19.patch.1 new file mode 100644 index 000000000..f0d926f55 --- /dev/null +++ b/external/pdfium/AndroidNDK19.patch.1 @@ -0,0 +1,16 @@ +diff -Naur pdfium.org/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h +--- pdfium.org/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h 2021-05-05 23:01:25.705057178 +0200 ++++ pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h 2021-05-05 23:06:52.194081762 +0200 +@@ -15,6 +15,12 @@ + #endif + #if BUILDFLAG(IS_ANDROID) + #include ++#ifndef PR_SET_VMA ++#define PR_SET_VMA 0x53564d41 ++#endif ++#ifndef PR_SET_VMA_ANON_NAME ++#define PR_SET_VMA_ANON_NAME 0 ++#endif + #endif + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) + #include -- cgit v1.2.3