diff --git a/boost-1.69-random.patch b/boost-1.69-random.patch new file mode 100644 index 0000000..0a1d286 --- /dev/null +++ b/boost-1.69-random.patch @@ -0,0 +1,22 @@ +From 1be44d405e48a42a63bd8d2dae739560b486a55c Mon Sep 17 00:00:00 2001 +From: Nick Thompson +Date: Sun, 11 Feb 2018 15:02:43 -0600 +Subject: [PATCH] [ci skip] Remove deprecated header. + +--- + include/boost/random/detail/integer_log2.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/boost/random/detail/integer_log2.hpp b/include/boost/random/detail/integer_log2.hpp +index 248243a4b..2e49f281f 100644 +--- a/include/boost/random/detail/integer_log2.hpp ++++ b/include/boost/random/detail/integer_log2.hpp +@@ -16,7 +16,7 @@ + + #include + #include +-#include ++#include + + namespace boost { + namespace random { diff --git a/boost.spec b/boost.spec index 12e55f1..9ffacba 100644 --- a/boost.spec +++ b/boost.spec @@ -45,7 +45,7 @@ Summary: The free peer-reviewed portable C++ source libraries Version: 1.69.0 %global version_enc 1_69_0 %global version_suffix 169 -Release: 3%{?dist} +Release: 4%{?dist} License: Boost and MIT and Python %global toplev_dirname %{real_name}_%{version_enc} @@ -144,6 +144,9 @@ Patch82: boost-1.66.0-no-rpath.patch # https://bugzilla.redhat.com/show_bug.cgi?id=1541035 Patch83: boost-1.66.0-bjam-build-flags.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1673669 +Patch84: boost-1.69-random.patch + %bcond_with tests %bcond_with docs_generated @@ -751,6 +754,7 @@ find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x %patch65 -p1 %patch82 -p1 %patch83 -p1 +%patch84 -p2 %build # Dump the versions being used into the build logs. @@ -1473,6 +1477,9 @@ fi %{_mandir}/man1/bjam.1* %changelog +* Tue Feb 12 2019 Jonathan Wakely - 1.69.0-4 +- Patch Boost.Random to fix warning (#1673669) + * Thu Jan 31 2019 Fedora Release Engineering - 1.69.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild