Add patch to fix CI failure

This commit is contained in:
Jonathan Wakely 2021-09-01 17:51:47 +01:00
parent 214bbadaf6
commit bba3a6c2a0
2 changed files with 42 additions and 1 deletions

View File

@ -0,0 +1,34 @@
From c3ada7a1b2b54f4b27585f72308a76984f8489b4 Mon Sep 17 00:00:00 2001
From: jzmaddock <john@johnmaddock.co.uk>
Date: Tue, 16 Mar 2021 10:47:16 +0000
Subject: [PATCH] Add missing #includes.
---
test/multiprecision_float_test.cpp | 1 +
test/multiprecision_int_test.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/test/multiprecision_float_test.cpp b/test/multiprecision_float_test.cpp
index 904c59d8f..bc2a9364d 100644
--- boost_1_76_0/libs/random/test/multiprecision_float_test.cpp
+++ boost_1_76_0/libs/random/test/multiprecision_float_test.cpp
@@ -20,6 +20,7 @@
#include <boost/multiprecision/debug_adaptor.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/random.hpp>
+#include <boost/mpl/list.hpp>
#include <sstream>
diff --git a/test/multiprecision_int_test.cpp b/test/multiprecision_int_test.cpp
index 577e52aff..41ec229b5 100644
--- boost_1_76_0/libs/random/test/multiprecision_int_test.cpp
+++ boost_1_76_0/libs/random/test/multiprecision_int_test.cpp
@@ -32,6 +32,7 @@
#include <boost/random/uniform_int.hpp>
#include <boost/random/uniform_smallint.hpp>
#include <boost/random/discrete_distribution.hpp>
+#include <boost/mpl/list.hpp>
#include <sstream>
typedef boost::mpl::list <

View File

@ -42,7 +42,7 @@ Name: boost
%global real_name boost %global real_name boost
Summary: The free peer-reviewed portable C++ source libraries Summary: The free peer-reviewed portable C++ source libraries
Version: 1.76.0 Version: 1.76.0
Release: 5%{?dist} Release: 6%{?dist}
License: Boost and MIT and Python License: Boost and MIT and Python
# Replace each . with _ in %%{version} # Replace each . with _ in %%{version}
@ -158,6 +158,9 @@ Patch100: boost-1.76.0-fix-include-inside-boost-namespace.patch
# https://github.com/boostorg/math/pull/671 # https://github.com/boostorg/math/pull/671
Patch101: boost-1.76.0-fix-duplicate-typedef-in-mp.patch Patch101: boost-1.76.0-fix-duplicate-typedef-in-mp.patch
# https://github.com/boostorg/random/issues/82
Patch102: boost-1.76.0-random-test.patch
%bcond_with tests %bcond_with tests
%bcond_with docs_generated %bcond_with docs_generated
@ -681,6 +684,7 @@ find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x
%patch98 -p1 %patch98 -p1
%patch100 -p1 %patch100 -p1
%patch101 -p1 %patch101 -p1
%patch102 -p1
%build %build
%set_build_flags %set_build_flags
@ -1292,6 +1296,9 @@ fi
%{_mandir}/man1/b2.1* %{_mandir}/man1/b2.1*
%changelog %changelog
* Wed Sep 01 2021 Jonathan Wakely <jwakely@redhat.com> - 1.76.0-6
- Add patch to fix CI failure
* Wed Sep 01 2021 Jonathan Wakely <jwakely@redhat.com> - 1.76.0-5 * Wed Sep 01 2021 Jonathan Wakely <jwakely@redhat.com> - 1.76.0-5
- Make boost-python3 depend on specific 3.X version (#1896713) - Make boost-python3 depend on specific 3.X version (#1896713)