Skip to content

Commit 5a80c5b

Browse files
authored
Merge pull request #315 from ciprianbadescu/PUP-10166/upgrade-openssl
(PUP-10166) adapt to openssl-1.1.1/boost-1.67
2 parents 68b4839 + 8c27407 commit 5a80c5b

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

cmake/cflags.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ endif()
7777
if (WIN32)
7878
# Update standard link libraries to explicitly exclude kernel32. It isn't necessary, and when compiling with
7979
# MinGW makes the executable unusable on Microsoft Nano Server due to including __C_specific_handler.
80-
SET(CMAKE_C_STANDARD_LIBRARIES "-luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32"
80+
SET(CMAKE_C_STANDARD_LIBRARIES "-luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -lbcrypt"
8181
CACHE STRING "Standard C link libraries." FORCE)
82-
SET(CMAKE_CXX_STANDARD_LIBRARIES "-luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32"
82+
SET(CMAKE_CXX_STANDARD_LIBRARIES "-luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -lbcrypt"
8383
CACHE STRING "Standard C++ link libraries." FORCE)
8484

8585
# We currently support Windows Vista and later APIs, see

dynamic_library/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
find_package(Boost 1.54 REQUIRED COMPONENTS regex)
1+
find_package(Boost 1.54 REQUIRED COMPONENTS regex system)
22

33
add_leatherman_deps("${Boost_LIBRARIES}")
44
add_leatherman_includes("${Boost_INCLUDE_DIRS}")

locale/src/locale.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// boost includes are not always warning-clean. Disable warnings that
66
// cause problems before including the headers, then re-enable the warnings.
77
#pragma GCC diagnostic push
8+
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
89
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
910
#include <boost/locale.hpp>
1011
#pragma GCC diagnostic pop

util/inc/leatherman/util/strings.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
*/
55
#pragma once
66

7+
#pragma GCC diagnostic push
8+
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
79
#include <boost/algorithm/string/predicate.hpp>
810
#include <boost/algorithm/string/compare.hpp>
11+
#pragma GCC diagnostic pop
912
#include <functional>
1013
#include <string>
1114
#include <vector>

windows/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
find_package(Boost 1.54 REQUIRED COMPONENTS filesystem)
1+
find_package(Boost 1.54 REQUIRED COMPONENTS filesystem regex system)
22

33
add_leatherman_deps(Wbemuuid.lib userenv.lib "${Boost_LIBRARIES}")
44
add_leatherman_includes("${Boost_INCLUDE_DIRS}")

0 commit comments

Comments
 (0)