From 9961c45e611314a5d0fe31456d5fe330b38c6e07 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 18 Mar 2021 09:49:38 -0500 Subject: [PATCH] Link leatherman_util against boost_nowide. --- leatherman-1.12.4-shared_nowide.patch | 10 ++++++++++ leatherman.spec | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/leatherman-1.12.4-shared_nowide.patch b/leatherman-1.12.4-shared_nowide.patch index 0b76590..74a12a4 100644 --- a/leatherman-1.12.4-shared_nowide.patch +++ b/leatherman-1.12.4-shared_nowide.patch @@ -89,3 +89,13 @@ using namespace std; using namespace leatherman::util; +--- a/util/CMakeLists.txt~ 2020-12-09 04:17:13.000000000 -0600 ++++ b/util/CMakeLists.txt 2021-03-18 09:40:55.004699613 -0500 +@@ -1,6 +1,6 @@ + find_package(Boost 1.54 REQUIRED date_time chrono system) + +-add_leatherman_deps(${Boost_LIBRARIES}) ++add_leatherman_deps(${Boost_LIBRARIES} -lboost_nowide) + add_leatherman_includes("${Boost_INCLUDE_DIRS}") + + leatherman_dependency(nowide) diff --git a/leatherman.spec b/leatherman.spec index fb5a264..e129fa0 100644 --- a/leatherman.spec +++ b/leatherman.spec @@ -1,6 +1,6 @@ Name: leatherman Version: 1.12.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Collection of C++ and CMake utility libraries # leatherman is ASL 2.0 @@ -74,6 +74,9 @@ sed -i -e "s/\s*-Werror\s*//g" cmake/cflags.cmake %{_libdir}/cmake/%{name}/ %changelog +* Thu Mar 18 2021 Gwyn Ciesla - 1.12.4-2 +- Link leatherman_util against boost_nowide. + * Tue Mar 09 2021 Gwyn Ciesla - 1.12.4-1 - 1.12.4