Attempt to fix the FTBFS issue related to new Boost 1.63 serialization

This commit is contained in:
Denis Arnaud 2017-02-25 20:45:57 +01:00
parent bd75efb031
commit 83d6d3de6f
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,15 @@
diff --git a/config/project_config_embeddable.cmake b/config/project_config_embeddable.cmake
index b9f38e6..a115cb0 100644
--- a/config/project_config_embeddable.cmake
+++ b/config/project_config_embeddable.cmake
@@ -165,6 +165,10 @@ macro (set_project_options _build_doc _enable_tests _run_gcov)
set (BASICDOC_FILES AUTHORS ${DOC_NEWS_FILE} README ${DOC_INSTALL_FILE})
set (BASICDOC_PATH "share/doc/${PACKAGE}")
+ ##
+ # Work around for new Boost 1.63 serialization code
+ set (DONT_USE_HAS_NEW_OPERATOR 1)
+
endmacro (set_project_options)
#

View File

@ -3,7 +3,7 @@
#
Name: stdair
Version: 1.00.2
Release: 9%{?dist}
Release: 10%{?dist}
Summary: C++ Standard Airline IT Object Library
@ -12,6 +12,7 @@ License: LGPLv2+
URL: http://%{name}.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch0: stdair-boost-1.59-log-format.patch
Patch1: stdair-fix-protected-pointer-with-boost-archive.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: cmake, python-devel
@ -61,6 +62,7 @@ online (http://%{name}.org).
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
@ -147,6 +149,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Feb 25 2017 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.2-10
- Attempt to fix the FTBFS issue related to new Boost 1.63 serialization
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild