Hello community, here is the log from the commit of package boost for openSUSE:Leap:15.2 checked in at 2020-04-08 12:48:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/boost (Old) and /work/SRC/openSUSE:Leap:15.2/.boost.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "boost" Wed Apr 8 12:48:05 2020 rev:34 rq:790246 version:1.66.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/boost/boost.changes 2020-01-15 14:48:51.209357893 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.boost.new.3248/boost.changes 2020-04-08 12:48:10.686336245 +0200 @@ -1,0 +2,6 @@ +Thu Mar 19 14:40:09 UTC 2020 - Adam Majer <[email protected]> + +- libreoffice_compat_backports.patch: add a backport of + Boost.Optional::has_value() for LibreOffice + +------------------------------------------------------------------- New: ---- libreoffice_compat_backports.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ boost.spec ++++++ --- /var/tmp/diff_new_pack.8G96Sr/_old 2020-04-08 12:48:13.282337553 +0200 +++ /var/tmp/diff_new_pack.8G96Sr/_new 2020-04-08 12:48:13.286337556 +0200 @@ -114,6 +114,7 @@ Patch18: dynamic_linking.patch Patch20: python_library_name.patch Patch21: python_numpy_retfunc.patch +Patch22: libreoffice_compat_backports.patch BuildRequires: fdupes BuildRequires: libbz2-devel BuildRequires: libexpat-devel @@ -1102,6 +1103,7 @@ %patch18 -p1 %patch20 -p1 %patch21 -p1 +%patch22 -p1 %build find . -type f -exec chmod u+w {} + ++++++ libreoffice_compat_backports.patch ++++++ Backport Boost::Optional::has_value() from https://github.com/boostorg/optional/commit/5182f7f30fad87023ae5e5a4e1f660fb513fb469 needed by LibreOffice 6.4.2 Index: boost_1_66_0/boost/optional/optional.hpp =================================================================== --- boost_1_66_0.orig/boost/optional/optional.hpp +++ boost_1_66_0/boost/optional/optional.hpp @@ -1334,6 +1334,7 @@ class optional #endif bool operator!() const BOOST_NOEXCEPT { return !this->is_initialized() ; } + bool has_value() const BOOST_NOEXCEPT { return this->is_initialized() ; } BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT() } ;
