mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
29 lines
1 KiB
Diff
29 lines
1 KiB
Diff
--- 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()
|