From 157ec51caaa9445d04707d45fee1d602ea0edbb4 Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Fri, 18 Aug 2023 13:10:59 +0000 Subject: [PATCH] win32_deps_build.sh: avoid duplicate boost definitions Boost stacktrace defines a few UUIDs that were recently added to mingw as well [1], causing compilation errors [2]: In file included from libs/stacktrace/build/../src/windbg.cpp:9: ./boost/stacktrace/detail/frame_msvc.ipp:31:5: error: redefinition of '__mingw_uuidof_s' __CRT_UUID_DECL(IDebugClient,0x27fe5639,... We'll apply a fix that hasn't merged upsteam yet [3]. [1] https://github.com/mirror/mingw-w64/commit/ce5a9f624dfc691082dad2ea2af7b1985e3476b5 [2] https://github.com/boostorg/stacktrace/issues/133 [3] https://github.com/boostorg/stacktrace/pull/140 Signed-off-by: Lucian Petrut --- win32_deps_build.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/win32_deps_build.sh b/win32_deps_build.sh index a4ef7f43965ec..adc34a0183441 100755 --- a/win32_deps_build.sh +++ b/win32_deps_build.sh @@ -235,6 +235,27 @@ patch -N boost/thread/pthread/thread_data.hpp <