From: Brad Smith Subject: Re: UPDATE: Asio 1.36.0 To: ports Cc: tb@theobuehler.org Date: Fri, 9 Oct 2026 00:22:14 -0400 On Tue, Oct 06, 2026 at 01:01:46PM +0100, Stuart Henderson wrote: > galera runs into a problem if new asio is present during build: Index: patches/patch-cmake_asio_cmake =================================================================== RCS file: patches/patch-cmake_asio_cmake diff -N patches/patch-cmake_asio_cmake --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-cmake_asio_cmake 9 Oct 2026 04:02:11 -0000 @@ -0,0 +1,22 @@ +Index: cmake/asio.cmake +--- cmake/asio.cmake.orig ++++ cmake/asio.cmake +@@ -13,6 +13,9 @@ macro(CHECK_ASIO_VERSION) + #if ASIO_VERSION < 102201 + #error Included asio version is too old + #endif ++#if ASIO_VERSION > 103200 ++#error Included asio veresion is too new ++#endif + + int main() + { +@@ -37,7 +40,7 @@ endif() + + if(NOT ASIO_VERSION_OK) + message(STATUS "Using bundled asio") +- include_directories(SYSTEM ${PROJECT_SOURCE_DIR}/asio) ++ include_directories(BEFORE ${PROJECT_SOURCE_DIR}/asio) + endif() + + add_definitions(-DHAVE_ASIO_HPP)