From e5283cd648536818ad69aa61451a92280693cb8c Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 29 Sep 2023 22:16:51 -0400 Subject: [PATCH] MacPDF: Define AK_DONT_REPLACE_STD The bots complain that `forward()` could be either from libc++'s include/c++/v1/__utility/forward.h or from AK/StdLibExtras.h. I don't see this locally, but Ladybird also defined AK_DONT_REPLACE_STD, so let's see if this does the trick. --- Meta/Lagom/Contrib/MacPDF/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Meta/Lagom/Contrib/MacPDF/CMakeLists.txt b/Meta/Lagom/Contrib/MacPDF/CMakeLists.txt index 1934f3ddcd..20f5b9a7f1 100644 --- a/Meta/Lagom/Contrib/MacPDF/CMakeLists.txt +++ b/Meta/Lagom/Contrib/MacPDF/CMakeLists.txt @@ -7,6 +7,8 @@ set(CMAKE_SKIP_BUILD_RPATH FALSE) set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) +add_compile_options(-DAK_DONT_REPLACE_STD) + set(RESOURCES LagomPDFDocument.xib MainMenu.xib