diff options
author | Sam James <sam@gentoo.org> | 2021-08-17 16:44:13 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-08-17 16:44:23 +0100 |
commit | e25d5c441605f0c72e54150644cc4dabbb65a340 (patch) | |
tree | ca48241ffe4ffee5891fd8a5422d0cc8d02affe3 /sci-libs/symengine | |
parent | app-portage/iwdevtools: add 0.1.0 (diff) | |
download | gentoo-e25d5c441605f0c72e54150644cc4dabbb65a340.tar.gz gentoo-e25d5c441605f0c72e54150644cc4dabbb65a340.tar.bz2 gentoo-e25d5c441605f0c72e54150644cc4dabbb65a340.zip |
sci-libs/symengine: fix build with Boost 1.77
Closes: https://bugs.gentoo.org/808057
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/symengine')
-rw-r--r-- | sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch | 19 | ||||
-rw-r--r-- | sci-libs/symengine/symengine-0.7.0.ebuild | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch b/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch new file mode 100644 index 000000000000..c4d6dc28e8f8 --- /dev/null +++ b/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch @@ -0,0 +1,19 @@ +https://github.com/symengine/symengine/commit/ceae675dccd593f119f3010d46e133de74fc01bc +https://bugs.gentoo.org/808057 + +From: Liam Keegan <liam@keegan.ch> +Date: Mon, 31 May 2021 21:31:02 +0200 +Subject: [PATCH] use list initialization for int parameter since type depends + on boost version + +--- a/symengine/mp_boost.cpp ++++ b/symengine/mp_boost.cpp +@@ -279,7 +279,7 @@ unsigned long mp_scan1(const integer_class &i) + if (i == 0) { + return ULONG_MAX; + } +- return find_lsb(i, int_<0>()); ++ return find_lsb(i, {}); + } + + // define simple 2x2 matrix with exponentiation by repeated squaring diff --git a/sci-libs/symengine/symengine-0.7.0.ebuild b/sci-libs/symengine/symengine-0.7.0.ebuild index b06a7e49f070..91f658820bdf 100644 --- a/sci-libs/symengine/symengine-0.7.0.ebuild +++ b/sci-libs/symengine/symengine-0.7.0.ebuild @@ -31,6 +31,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch" + "${FILESDIR}/${PN}-0.7.0-boost-1.77.patch" ) pkg_pretend() { |