This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new ac352a7f2 Remove boost-<version>.patch requirement to fix autotools 
build
ac352a7f2 is described below

commit ac352a7f295c80f401f89e5dc02caeb89dfbbb5d
Author: Devin Leamy <[email protected]>
AuthorDate: Fri Feb 16 12:20:20 2024 -0500

    Remove boost-<version>.patch requirement to fix autotools build
    
    The patch that was used in boost 1.65.0 is no longer required for
    boost 1.81.0, however, the Mesos build systems still expect it.
    
    This patch removes the need for a boost patch, when building
    Mesos thus fixing the broken builds.
---
 3rdparty/CMakeLists.txt | 4 ----
 3rdparty/Makefile.am    | 1 -
 2 files changed, 5 deletions(-)

diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
index 1625933cf..e1f71283e 100644
--- a/3rdparty/CMakeLists.txt
+++ b/3rdparty/CMakeLists.txt
@@ -216,13 +216,9 @@ if ("${BOOST_ROOT_DIR}" STREQUAL "")
   endif ()
   target_include_directories(boost INTERFACE ${BOOST_ROOT})
 
-  # Patch Boost to avoid repeated "Unknown compiler warnings" on Windows.
-  PATCH_CMD(BOOST_PATCH_CMD boost-${BOOST_VERSION}.patch)
-
   ExternalProject_Add(
     ${BOOST_TARGET}
     PREFIX            ${BOOST_CMAKE_ROOT}
-    PATCH_COMMAND     ${BOOST_PATCH_CMD}
     CONFIGURE_COMMAND ${CMAKE_NOOP}
     BUILD_COMMAND     ${CMAKE_NOOP}
     INSTALL_COMMAND   ${CMAKE_NOOP}
diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am
index 615bd7077..55f49ee59 100644
--- a/3rdparty/Makefile.am
+++ b/3rdparty/Makefile.am
@@ -139,7 +139,6 @@ EXTRA_DIST +=                       \
 
 # We need the following patches for CMake and/or Windows builds.
 EXTRA_DIST +=                  \
-  $(BOOST).patch               \
   $(GOOGLETEST).patch          \
   $(LIBARCHIVE).patch          \
   $(PROTOBUF).patch            \

Reply via email to