PKGBUILDs/community/ceph/boost-1.67.patch

30 lines
1 KiB
Diff
Raw Normal View History

2018-06-08 04:56:35 +00:00
--- a/src/test/librbd/test_mock_Journal.cc 2018-06-03 01:56:35.407273176 +0300
+++ b/src/test/librbd/test_mock_Journal.cc 2018-06-03 01:56:29.800506081 +0300
@@ -1,6 +1,8 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
+#define BOOST_BIND_NO_PLACEHOLDERS
+
#include "test/librbd/test_mock_fixture.h"
#include "test/journal/mock/MockJournaler.h"
#include "test/librbd/test_support.h"
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -604,13 +604,13 @@ if(WITH_SYSTEM_BOOST)
else()
set(Boost_USE_STATIC_LIBS ON)
endif()
- find_package(Boost 1.66 COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
+ find_package(Boost 1.67 COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
else()
set(BOOST_J 1 CACHE STRING
"max jobs for Boost build") # override w/-DBOOST_J=<n>
set(Boost_USE_STATIC_LIBS ON)
include(BuildBoost)
- build_boost(1.66
+ build_boost(1.67
COMPONENTS ${BOOST_COMPONENTS} ${BOOST_HEADER_COMPONENTS})
include_directories(BEFORE SYSTEM ${Boost_INCLUDE_DIRS})
endif()